iamcco / iamcco/markdown-preview.nvim

Feature request: support ```math blocks for rendering LaTeX

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

Description

Julia's Documenter supports [```math](https://juliadocs.github.io/Documenter.jl/stable/man/latex/#Display-Equations) blocks for rendering LaTeX in what is otherwise markdown documents, e.g.:
```
```md
\begin{aligned}
\nabla\cdot\mathbf{E} &= 4 \pi \rho \\
\nabla\cdot\mathbf{B} &= 0 \\
\nabla\times\mathbf{E} &= - \frac{1}{c} \frac{\partial\mathbf{B}}{\partial t} \\
\nabla\times\mathbf{B} &= - \frac{1}{c} \left(4 \pi \mathbf{J} + \frac{\partial\mathbf{E}}{\partial t} \right)
\end{aligned}
\```
```
(Ignore the last back slash, wasn't sure how to escape the tripple back ticks.)

Would be great if we could render these as well.

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.