shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.49k stars 172 forks source link

Cannot preview maths formula with pandoc parser and katex #445

Open ZZYSonny opened 3 years ago

ZZYSonny commented 3 years ago

When I set to use pandoc parser and KaTeX maths (which is default)

    "markdown-preview-enhanced.usePandocParser": true,
    "markdown-preview-enhanced.mathRenderingOption": "KaTeX",

or

    "markdown-preview-enhanced.usePandocParser": true,
    "markdown-preview-enhanced.mathRenderingOption": "None",
    "markdown-preview-enhanced.pandocArguments": "--katex",

And then open a document with maths equation. The loading icon loops forever and maths formula does not get rendered. image

The reason I want to try KaTeX is that pandoc with MathJax is significantly slower on updating compared to markdown-it with KaTeX. Pandoc with broken KaTeX (with text only) is fast. So I guess it is not pandoc causing this slow update.

heartacker commented 3 years ago

same problem with me

KleinByte commented 3 years ago

Math is completely broken for markdown-it with this extension...

raminudelman commented 2 years ago

Any news regarding this issue?