Closed josebama closed 3 months ago
I did some quick tests and the results seem correct; math blocks inside code blocks are not rendered ⬆.
Could you share some screenshots where the incorrect behavior happen?
Could you provide the version and environment information?
Thanks, Steven Hé (Sīchàng)
When a custom delimiter, either inline or block, starts with backtick (`), the katex syntax is rendered even if it's inside a code block.
For example, given
block-delimiter = { left = "```math", right = "```" }
,`$\omega$`
should not be rendered with katex, as the katex syntax is inside inline code, but it does.This has the potential of affecting many people, as that kind of block delimiter is needed to replicate GitLab Flavoured Markdown syntax.
The issue can be reproduced with the following test: