-
Notifications
You must be signed in to change notification settings - Fork 146
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
Support $$ on separate opening and closing lines #270
Comments
If anything is unclear, feel free to ask for more details. I tried to dig into |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that many markdown parsers supporting LaTeX allow the opening and closing
$
or$$
to be on different lines, but it doesn't appear to work inmd4c
.To reproduce:
Expected rendering: here's an example from stackedit.io, source on the left, rendered on the right.
Actual result in
md4c
: the LaTeX on the first line results in the callbacks I would expect (having setMD_FLAG_LATEXMATHSPANS
), but the other LaTeX doesn't. In particular, it looks like it sees the pair of dollars on line 2 as an opening and closing pair, and similarly for the pair on line 4.The text was updated successfully, but these errors were encountered: