iamcco / iamcco/markdown-preview.nvim
Cannot use ```math code block
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
There is no option to use the `math` fenced code block in the style of GitHub to render LaTeX expressions. (But I might have missed the option.)
**To Reproduce**
Write
~~~markdown
This is the Pythagorean equation
$$
a^2 + b^2 = c^2
$$
This is the Pythagorean equation
``` math
a^2 + b^2 = c^2
```
~~~
The top one renders via a LaTeX renderer, the bottom one does not.
**Expected behavior**
I would like a code block rendered with ` ```math ``` ` to be displayed with a LaTeX renderer as if it has been written surrounded by $$ $$.
**Screenshots**

**Desktop (please complete the following information):**
- OS: Ubuntu 22.04
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.