markdown-it-math
markdown-it-math copied to clipboard
Add loose mode to allow whitespace immediately after inline opening
Added a options loose to let something like $ 1+1=2 $ to be recognized as a inline math. So it will support LaTeX-style inline math better and have better compatibility with other markdown renderers with math enabled. Test case included.
This PR will fix #21.
Maybe you should upgrade the Node.js version in your Travis CI to make the tests passable on GitHub.