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

Can not use \begin{pmatrix}..\end{pmatrix}

Open yunabe opened this issue 5 years ago • 4 comments

Input markdown:

$$\begin{pmatrix}a&b&c\\d&e&f\end{pmatrix}$$

Expected:

A beautiful 3x2 matrix is rendered.

Actual:

The equation is just copied to <p>.

<p>\begin{pmatrix}a&amp;b&amp;c\\d&amp;e&amp;f\end{pmatrix}</p>

Versions

"vuepress": "^1.0.0-alpha.47",
"vuepress-plugin-mathjax": "^1.2.4"

Minimal example site

I created a minimal vuepress site to reproduce this:

git clone https://github.com/yunabe/vuepress-plugin-mathjax-bug8.git
cd vuepress-plugin-mathjax-bug8
yarn
yarn dev

Then, open http://localhost:8080/#matrix

yunabe avatar May 03 '19 09:05 yunabe

It seems to be a mathjax3 issue.

shigma avatar Jul 02 '19 12:07 shigma

Hello, when will this syntax support be completed? @Shigma

AmazingMoon avatar Mar 10 '20 09:03 AmazingMoon

@yunabe This plugin can solve the problem, I tried it. vuepress-plugin-latex

AmazingMoon avatar Mar 11 '20 03:03 AmazingMoon

I'm using this plugin. Working like charm!

manashmandal avatar Jun 05 '20 21:06 manashmandal