gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.73k stars 857 forks source link

MathJax multiple subscripts not processed #403

Open cuihtlauac opened 7 years ago

cuihtlauac commented 7 years ago

This:

$$Fn=F{n-1}+F_{n-2}$$

fails to be displayed if added in the LaTex using MathJax exemple.

wookayin commented 7 years ago

See also #336. It is a marked bug which is not resolved yet.

A workaround: https://github.com/anaderi/remark/commit/b0d04955.

SWotherspoon commented 7 years ago

But it works if you surround it with backticks. If you use the "(" format rather than "$" you can easily fix with a search and replace.

`$$F_n=F_{n-1}+F_{n-2}$$`
piojanu commented 7 years ago

I can't understand, how to exactly apply work around?