notes
Our great sponsors
notes | EquationTest | |
---|---|---|
2 | 1 | |
2 | 0 | |
- | - | |
5.7 | 10.0 | |
13 days ago | almost 2 years ago | |
HTML | ||
- | - |
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.
notes
EquationTest
-
Render mathematical expressions in Markdown On GitHub
You're being modest. This is clearly the winner, assuming GitHub is fine with the server cycles.
Running the JS client side means blocking the thread. You're either 1. delaying other JS from running, or 2. rendering late, shifting the layout – which is what GitHub has chosen. Refresh this issue and you'll see the jank from the flash of the raw equations: https://github.com/Leland/EquationTest/issues/1
Sending the rendered div's is a non-starter. Large document sizes delay domContentLoaded, slow down browsers, etc.
Your approach, then. On your page there are 178 SVGs. Total gzipped size is 490KB. SVGO[0] gets that down to 311KB – that's 1.74KB transferred per equation.
[0] https://github.com/svg/svgo
What are some alternatives?
KeenWrite - Free, open-source, cross-platform desktop Markdown text editor with live preview, string interpolation, and math.
MathJax - Beautiful and accessible math in all browsers
riemann-zeta-visualization
KaTeX - Fast math typesetting for the web.
riemann-zeta-visualizatio