Closed wukaikailive closed 7 years ago
Hi there, I can't read or speak Chinese, but it appears that mathjax is wanted as an enhancement?
UPDATE
Is KaTeX
an acceptable alternative to Mathjax or LaTeX? If so I was able to make this happen:
The downside is that you have to explicitly include a couple stylesheets.
Here's my fork. If you like it, I'll document and PR https://github.com/brianbancroft/vue-markdown
https://github.com/brianbancroft/vue-markdown has 404 status
我遇到的问题是这样的,我需要支持laTex公式,先用vue-markdown渲染一次后,再用mathjax渲染一次。书写LaTex公式时,需要被$或者$$包围起来,使用vue-markdown渲染后会在原来的公式前后包围一个p标签,导致mathjax无法正确解析LaTex公式,有什么办法可以解决这个问题吗?或者说通过某些配置,让vue-markdown不处理$或者$$包围的文本?