You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should note at the offset that markdown-it + markdown-it-katex plugin parses most equations properly, except when there is markdown syntax in the equation.
Currently, I have a markdown document with a latex formula that looks like this:
Notice the - in the equation. Markdown-it sees these - marks and parses them as li elements which breaks the latex rendering (as latex doesn't know what to do with <ul><li>. Is there a way to tell markdown-it to skip rendering anything inside of the \begin{equation} and \end{equation} syntax? Alternative suggestions work too... I'm kind of stuck on this issue.
Thanks!
The text was updated successfully, but these errors were encountered:
Notably, katex goes from 0.6.0 to 0.16.0 and (for testing purposes
only) markdown-it from 6.0.0 to 13.0.0. Several tests had to be
updated as katex’s HTML rendering of many math constructs has changed,
but no code changes are required.
Fixes issues waylonflinn#18, waylonflinn#19, waylonflinn#21, waylonflinn#27. Partially addresses waylonflinn#16.
Test cases added.
Hi markdown-it team,
I should note at the offset that markdown-it + markdown-it-katex plugin parses most equations properly, except when there is markdown syntax in the equation.
Currently, I have a markdown document with a latex formula that looks like this:
Notice the
-
in the equation. Markdown-it sees these - marks and parses them as li elements which breaks the latex rendering (as latex doesn't know what to do with<ul><li>
. Is there a way to tell markdown-it to skip rendering anything inside of the\begin{equation}
and\end{equation}
syntax? Alternative suggestions work too... I'm kind of stuck on this issue.Thanks!
The text was updated successfully, but these errors were encountered: