tex2svg | math-ml | |
---|---|---|
1 | 2 | |
4 | 78 | |
- | - | |
10.0 | 0.0 | |
over 5 years ago | over 1 year ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tex2svg
-
Convert latex notation to ready to be embedded Markdown
I hosted a small snippet on heroku and am using https://github.com/atishay/tex2svg/ for my personal Hugo website. It is really cheap and easy to do latex to svg.
math-ml
-
MathML Core is now supported in Chrome
I implemented MathML as web components a few years ago as a work around. It wasn't super hard, but a native implementation provides so much better accessibility (and, likely, perf) https://github.com/pshihn/math-ml
-
Convert latex notation to ready to be embedded Markdown
Unfortunately there is no common in-browser Math rendering and as the referenced article points out, pictures of equations are not the solution [2]. A common mathematics rendering format is desperately needed but nobody really seems motivated to solve it.
My approach is to use MathML that is rendered natively by Firefox and use JS to render in other browsers [3]. MathJax is way too heavy the last time I checked (growing towards 1MB) [4]. Instead I use math-ml, a JS library that is somewhat complete/abandoned but mostly works in about 80kB [5].
My rational for supporting Firefox's approach is that it's the browser I use, MathML is supported by W3C [6], MathML is supported by pandoc and there is a lightweight workaround for other browsers.
[1] https://pandoc.org/
[2] https://danilafe.com/blog/math_rendering_is_wrong/
[3] https://coffeespace.org.uk/projects/mathml-render.html
[4] https://www.mathjax.org/
[5] https://github.com/pshihn/math-ml
[6] http://www.w3.org/1998/Math/MathML
What are some alternatives?
MathJax - Beautiful and accessible math in all browsers
pandoc - Universal markup converter
dogx - Documentation Generator X
texme - Self-rendering Markdown + LaTeX documents