#markdown #latex #math #plugin #render

markdown-it-latex

Allows for the insertion of math in Markdown documents using LaTeX

1 unstable release

0.1.0 Feb 20, 2025

#199 in #render

BSD-3-Clause

5KB
74 lines

markdown-it-latex

A plugin for markdown-it.rs that adds LaTeX support powered by Pulldown-LaTeX.

Syntax

Inline math is defined using a single dollar sign ($), whereas block math is defined with 2 dollar signs ($$).

Essentially, $\text{ this renders as an inline equation, with display equal to inline }$, whereas $$\text{ this renders as an block equation, with display equal to block; so it renders on its own line }$$.

Dependencies

~8–12MB
~213K SLoC