markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

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

Open functoreality opened this issue 4 years ago • 1 comments

This works correctly:

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.

functoreality avatar Nov 08 '20 15:11 functoreality

bug of markdown-it

iamcco avatar Nov 10 '20 03:11 iamcco