markdown-it-math icon indicating copy to clipboard operation
markdown-it-math copied to clipboard

Add loose mode to allow whitespace immediately after inline opening

Open Menci opened this issue 6 years ago • 1 comments

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.

Menci avatar Mar 25 '19 04:03 Menci

Maybe you should upgrade the Node.js version in your Travis CI to make the tests passable on GitHub.

Menci avatar Mar 25 '19 04:03 Menci