Mathematical formulas cannot be displayed when markdown generates pdf in vscode

Add the following code at the front end of the document

<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>

Guess you like

Origin blog.csdn.net/DwenKing/article/details/108101034
Recommended