vuepress-plugin-mathjax icon indicating copy to clipboard operation
vuepress-plugin-mathjax copied to clipboard

the "\begin{cases}" can not work in vuepress

Open lvmengtian opened this issue 4 years ago • 4 comments

Hello,I am using vuepress-plugin-mathjax in vuepress. Now some problems troubles me.

Content in markdown is

$$f(i>>1)=\begin{cases}f(i)& \text{i的最后一位是0}\\f(i)-1& \text{i的最后一位是1}\end{cases}$$

After building and devloping the vuepress,It doesn't work. image

But it is works in https://www.mathjax.org/#demo。 image

lvmengtian avatar Feb 28 '20 14:02 lvmengtian

+1

osdio avatar Apr 01 '20 06:04 osdio

+1

BruceYuj avatar Oct 09 '20 07:10 BruceYuj

+1

BanMing avatar Mar 02 '21 10:03 BanMing

One solution is change the dependencies "mathjax3": "3.0.0-beta.3" to "mathjax-full": "^3.1.4", and change the file "src/tex2html" like this. But this way can only support svg because in 3.14 is another way to deal with chtml. I'm not good at vue nor node, maybe someone can solve it.

MarcusMogg avatar May 24 '21 11:05 MarcusMogg