iamcco / iamcco/markdown-preview.nvim

\newcommand rendered in red even though it works

Open
#328 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
![image](https://user-images.githubusercontent.com/4793438/114794702-d5c7ac80-9d41-11eb-8bab-972b00130a88.png)

\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

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.