goessner / markdown-it-texmath

Support TeX math equations with your Markdown documents.
MIT License
161 stars 29 forks source link

multiline support for `brackets` #8

Closed 7shi closed 6 years ago

7shi commented 6 years ago

I add a multiline support for brackets mode, because it can not recognize multilines.

OK (a single line)

\[c=\pm\sqrt{a^2+b^2}\]

NG (multilines)

\[
c=\pm\sqrt{a^2+b^2}
\]