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
Describe the bug
Since we are now rendering markdown templates before LaTeX formulas, any math formula that includes characters usually found on markdown templating could lead to a wrong output.
To Reproduce
Try to use any string that contains LaTeX formulas including markdown syntax in any place where the markdown is rendered. For example, the following text is not rendered correctly because of underscores inside it: ...measurements in (EDT-TTF-CONH$_2$)$_2^{+}$[BABCO$^{-}$] (EDT-BCO) confirmed the absence...
Expected behavior
Both formulas and markdown should be rendered correctly. Since LaTeX line delimiters are "rarer" than markdown delimiters, it's best to render LaTeX with mathjax first, and markdown right after that.
Describe the bug
Since we are now rendering markdown templates before LaTeX formulas, any math formula that includes characters usually found on markdown templating could lead to a wrong output.
To Reproduce
Try to use any string that contains LaTeX formulas including markdown syntax in any place where the markdown is rendered. For example, the following text is not rendered correctly because of underscores inside it:
...measurements in (EDT-TTF-CONH$_2$)$_2^{+}$[BABCO$^{-}$] (EDT-BCO) confirmed the absence...
Expected behavior
Both formulas and markdown should be rendered correctly. Since LaTeX line delimiters are "rarer" than markdown delimiters, it's best to render LaTeX with mathjax first, and markdown right after that.
Related work
PR: #3112
The text was updated successfully, but these errors were encountered: