iamcco/markdown-preview.nvim

\newcommand rendered in red even though it works

Open

#328 创建于 2021年4月14日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (5,538 star) (246 fork)batch import
help wanted

描述

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

贡献者指南