-
Notifications
You must be signed in to change notification settings - Fork 3
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 multi-line equations #3
Comments
Explanation: Currently I'm detectiong formulas by a stateless per-line regexp. Therefore this is blocked on a rewrite that supports stateful parsing in a clean way - as described in #13. |
If I want to exactly replicate what pandoc does for single dollars, it will require lookahead beyond current line:
is interpreted as text while
is math. (The real rules for closing $ seems different than documented, with special treatment of numbers. One option is keeping However, it's not clear that I'm constrained by the fact CodeMirror modes can't lookahead to following line. Math is recognized from change hook which can look everywhere. |
E.g.
works but
$$
\pi
$$
does not.
The text was updated successfully, but these errors were encountered: