vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
Cant display math formula incorrect
i can display md file in preview correct for math formula, like $OUT(X)$ = $\bigcup \atop v\in X$ ${u: (v,u)\in E}$, but after i convert to pdf, still the same string in pdf file
See this issue. You may add those same two lines into the html template itself to enable latex for all documents. The path to it is %user%/.vscode/extensions/yzane.markdown-pdf/template/template.html
any sol?
Hi, I tried the solution mentioned by AntonC9018 https://github.com/yzane/vscode-markdown-pdf/issues/151 Thank you AntonC9018! It does render the display math with double dollar signs $$ some formular$$. However, when export md to pdf, it still doesn't render inline math for me for those in between SINGLE DOLLAR SIGNS $. Does anyone have an idea?
insert
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: {inlineMath: [['$', '$']]}, messageStyle: "none" });</script>
at the top of your md file
thank you! @najtin