typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Math arrays do not render properly #4513

Closed zoof closed 3 years ago

zoof commented 3 years ago

Describe the bug First character in a math array is ignored.

To Reproduce Steps to reproduce the behavior:

  1. write latex code for a math array.
  2. first character will be ignored

Expected behavior Array should render correctly.

Screenshots / Screencasts Screenshot_2021-07-16_15-00-44

Sample Markdown File

$$
\begin{array}
xy
\end{array}
$$

Desktop (please complete the following information):

Typora Version 0.10.11

Additional context Add any other context about the problem here.

abnerlee commented 3 years ago

Is is same with https://www.mathjax.org/#demo

I guess it is the expended behavior.

You could try

$$
\begin{array} {}
d
\end{array}
$$