CodeMirror-MathJax
CodeMirror-MathJax copied to clipboard
Experimenting to replace $math$ with formulas inside CodeMirror
Try this: ``` markdown `$.ajax();` ```
MJ 2.5 is out and the demo page now points to it (it uses `latest/`). It consistently gives [Math Processing Error] on about half the math — same formulas every...
Opening a separate issue for KaTeX support. The main motivation is performance (#14) but it's worth tracking separately. With 0.4 supporting arrays, it became a serious contender, even without MJ...
As long as multi-line $...$ is unsupported (#3) should reset to outer mode at EOL. When fixed, ideally should be configurable but at least stop on empty line?
Should shamelessly steal from https://twitter.com/Typora/status/637495313259892740
# [migrated from cben/mathdown#19] The initial render on document load is horribly unacceptably slow (saw **1 minute** on a math-heavy page on mathdown.net). The unrendered text does show very fast...
MathJax tex input jax is smart enough to parse `$y = x^2 \hbox{ when $x > 2$}$.` as a single formula. Mathdown parses as 2 (broken) islands. Depends on #13...
I've never tried this with multiple CM instances linked to one shared doc. I suspect it'll break. In particular I see CM does `widget.cloneNode(true)`; I wonder if it's safe on...