iamcco/markdown-preview.nvim

\newcommand rendered in red even though it works

Open

#328 ouverte le 14 avr. 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (246 forks)batch import
help wanted

Métriques du dépôt

Stars
 (5 538 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur