linjer / jekyll-katex

[DEPRECATED] Jekyll plugin for easy server-side math rendering via KaTeX
MIT License
96 stars 8 forks source link

Inline matrix display #39

Open MqCreaple opened 2 years ago

MqCreaple commented 2 years ago

I tried to write an inline matrix like this:

Some text blah blah $\begin{bmatrix} a & b \\ c & d \end{bmatrix}$

However, the matrix was rendered to this:

[a   amp; b c  amp; d]

But the same code worked well for a block equation:

$$\begin{bmatrix} a & b \\ c & d \end{bmatrix}$$

Do anyone got any solutions?