Steps to Reproduce:
markdown code as follows can't preview:
可以创建行内公式,例如 $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$。或者块级公式:
$$ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
@kieferrm maybe a case for an extension for the markdown extension?
maybe this helps those people who want mathjax.
https://gist.github.com/3846masa/cde99a18a8d7ad225cf7
simply use regex to find the mathjax block and render. It could be total cool to include as an extension. Only works before version 1.30.
BTW. FYI https://github.com/markdown-it/markdown-it/issues/33
see ...
Markdown+Math
@bpasero, @kieferrm maybe you could merge the functionality of the repo linked by @goessner above into the default package?
@goessner: Your repo is top trending repo nr. 6 on Github at the moment. Maybe you could link to this issue so people can vote for it with a :+1: by reacting to the issue description.
MathJAX is not something we want to add to our core markdown preview extension, but we still do want to support extending the markdown preview in this way. To allow this, I've implemented a proposal for markdown extensions in VSCode 1.11: #22916
This prototype extension demonstrates enabling katex in the preview for example: https://github.com/mjbvz/vscode-markdown-katex
If someone would be interested in creating a prototype mathjax extension using the proposed API, please let me know. The katex extension is probably a good starting point. The API is also still a WIP, so any feedback on it would be greatly appreciated
// FYI @snyang
With the markdown extensions support this is now an extension candidate.
Most helpful comment
see ...
Markdown+Math