miaolz123 / vue-markdown

A Powerful and Highspeed Markdown Parser for Vue
https://miaolz123.github.io/vue-markdown/
MIT License
1.89k stars 257 forks source link

Is there any way to support latex syntax ? #55

Open fqzhang42 opened 6 years ago

fqzhang42 commented 6 years ago

Is there any way to support latex syntax? Like $\delta$ will be parsed as geek letter delta

IniZio commented 6 years ago
<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>

Should do the job i think? 🤔