typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Square brackets not shown in aligned environment

Open yuchenxi2000 opened this issue 2 years ago • 3 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [x] Searched http://support.typora.io/


Describe the bug Square brackets not shown in aligned environment

To Reproduce Open file with contents below:

$$
\begin{aligned}
[a]
\end{aligned}
$$

$$
\begin{aligned}
a[a]
\end{aligned}
$$

The first equation [a] is invisible.

Screenshots / Screencasts 截屏2022-06-22 07 12 04 截屏2022-06-22 07 11 50

Sample Markdown File bug-report.md

Desktop (please complete the following information):

  • OS: macOS 12.4

Typora Version 1.3.7

yuchenxi2000 avatar Jun 21 '22 23:06 yuchenxi2000

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

Should it be displayed?

abnerlee avatar Jun 23 '22 10:06 abnerlee

https://github.com/mathjax/MathJax/issues/2888

abnerlee avatar Jun 23 '22 10:06 abnerlee

Ok, it seems to be a MathJax issue.

yuchenxi2000 avatar Jun 23 '22 10:06 yuchenxi2000