Skip to content
New issue

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

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

Already on GitHub? # to your account

Nested math within braces #27

Open
cben opened this issue Jul 21, 2014 · 1 comment
Open

Nested math within braces #27

cben opened this issue Jul 21, 2014 · 1 comment
Labels

Comments

@cben
Copy link
Owner

cben commented Jul 21, 2014

MathJax tex input jax is smart enough to parse $y = x^2 \hbox{ when $x > 2$}$. as a single formula. Mathdown parses as 2 (broken) islands.

Depends on #13 — can only be approached sanely if math is recognized by mode.

@cben cben added the bug label Jul 21, 2014
@cben
Copy link
Owner Author

cben commented Aug 11, 2015

Simply counting braces might be too error-prone during editing: $unmatched { brace$ would not consider the math closed, which is perhaps not an optimal behaviour. Ideally, support nesting only for \mbox and such?

For starterts, supporting nesting with ( / [ delimiters (by only matching the delimiters and not understanding the math structure) would help.

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

No branches or pull requests

1 participant