#latex #plugin #math #inline #markdown-it #render #insertion

markdown-it-latex

Allows for the insertion of math in Markdown documents using LaTeX

1 unstable release

new 0.1.0 Feb 20, 2025

#986 in Text processing

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–17MB
~227K SLoC