iamcco/markdown-preview.nvim

\newcommand rendered in red even though it works

Open

#328 opened on Apr 14, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5,538 stars) (246 forks)batch import
help wanted

Description

Describe the bug image

\newcommand isn't recognized and yields red text, even though it renders where used with the globalGroup turned on.

To Reproduce Steps to reproduce the behavior:

$$
\newcommand{\chk}{\checkmark}
$$
$$
\chk
$$

Works, but the first block is rendered in red.

Desktop (please complete the following information):

  • OS: Arch Linux

Contributor guide