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.
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!