iamcco / iamcco/markdown-preview.nvim

KaTeX math problem for hard-tab-indented equation with linebreak

Open
#256 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

This works correctly:
```markdown
1. text
$$\begin{bmatrix}
a,b
\end{bmatrix}$$
```
But if we use hard tabs (i.e. `\t`) instead of spaces for indentation, the equation is not correctly displayed. What's more, if we write the equation in a single line (i.e. no linebreak between two `$$`'s), it works correctly again, even with hard-tabs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.