Pandoc syntax conversion issue #5428
-
I'm using Quarto with Hugo and a theme that incorporates a very odd Katex syntax for math equations: it users \( and \) as delimiters. Rendering pages from Quarto causes the parentheses to be stripped and several lines of js/jquery to appear at the start of the .md file. To get my code to display correctly, I need to delete the js/jquery and correct the delimiters. I've tested on other pages and they don't have similar issues with the random js. I think it's a Pandoc setting that's causing the behavior with the delimiters but have no idea about the js. If there could be a toggle or if Katex could be supported that'd be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Could you share some small example for us to reproduce? |
Beta Was this translation helpful? Give feedback.
Unfortunately, your example is not reproducible.
Note that to have the correct Hugo syntax, you need for some reasons to double escape the equation.
Or include it in a raw markdown block1
or raw inline markdown1
Footnotes
See http…