Skip to content

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

Closed
Menci wants to merge 1 commit intorunarberg:mainfrom
Menci:master
Closed

Add loose mode to allow whitespace immediately after inline opening#25
Menci wants to merge 1 commit intorunarberg:mainfrom
Menci:master

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.

@runarberg
Copy link
Owner

Thanks I created #38 based on this.
The codebase has been rewritten so I couldn’t simply rebase yours.

@runarberg runarberg closed this Mar 21, 2025
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 $

2 participants