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
Hello, I want to use the markdown parsing with katex, and I noticed that for some formula involving underscores, the markdown parsing occurs before the katex transformation and alter the result.
Notice the <em> tags that appears. If I remove the curly braces which are optional in this context, the formula is rendered correctly. It seems that some underscores are considered as at the beginning or at the end of words and thus the markdown parser replace them with emphases.
Thank you for you help
The text was updated successfully, but these errors were encountered:
Hello, I want to use the markdown parsing with katex, and I noticed that for some formula involving underscores, the markdown parsing occurs before the katex transformation and alter the result.
I think it would be clearer with an example
Markdown:
output from ngx-markdown with katex activated:
Notice the
<em>
tags that appears. If I remove the curly braces which are optional in this context, the formula is rendered correctly. It seems that some underscores are considered as at the beginning or at the end of words and thus the markdown parser replace them with emphases.Thank you for you help
The text was updated successfully, but these errors were encountered: