Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loose mode to allow whitespace immediately after inline opening #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Menci
Copy link

@Menci Menci commented Mar 25, 2019

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
Copy link
Author

Menci commented Mar 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not works if a space near $
1 participant