<!-- Attention: please fill in the issue in the template format, including but not limited to: detailed description, reproduction steps, expected results, actual results, error screenshots (not required), Mark Text and operation system version, if an issue is marked as `more detail`, stating that the issue is opened and no content has been added after one week and will be closed, thanks for your cooperation --> <!-- 注意:请按照 template 格式填写 issue,包括但不仅限于:详尽的描述、重现步骤、期望结果、实际结果、错误截图(非必须)、Mark Text 和 操作系统版本型号或版本号,如果一个 issue 被标记为 `more detail`,说明 issue 填写不完整,一周后仍未补充任何内容,将被关闭,谢谢合作 --> ### Description 如图 <img width="899" alt="screen shot 2018-08-05 at 8 24 58 pm" src="https://user-images.githubusercontent.com/7962780/43685876-a6524cfe-98ed-11e8-9ff8-d04456ac51a7.png"> ### Steps to reproduce 公式如下: ``` $$\begin{bmatrix} 1 & 0 & -1 \end{bmatrix} \times \left[ \begin{array}{c} 1 \\ 2 \\ 1 \end{array} \right] = \begin{bmatrix} 1 & 0 & -1 \\ 2 & 0 & -2 \\ 1 & 0 & -1 \end{bmatrix} $$ ``` **PS:** 貌似`Latex`里的内容复制粘贴会少东西,公式最好手动输入一下。 ### Versions - Mark Text: v0.12.25 - OS: macOS 10.13.5 Beta
Activity
Jocs commentedon Aug 12, 2018
@zombiecong
目前 Latex 分为数学公式输入分为2种。
出现该issue 中问题的应该是 inline 语法。对于如此长的数学公式,我们推荐使用第三种 block 语法,将其拆分为多行输入。如下:

对于使用inline math 语法导致展示遮住公式的问题,我们会在后续修复。欢迎持续关注。
zombiecong commentedon Aug 12, 2018
@Jocs 收到,谢谢。
fix(#450) style error when render inline math
chore(security): remediate 25 Dependabot alerts (#4596)
fix(marktext#450) style error when render inline math