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

markdown-it-latex

Allows for the insertion of math in Markdown documents using LaTeX

1 unstable release

0.1.0 Feb 20, 2025

#1305 in Text processing

Download history 123/week @ 2025-02-19 8/week @ 2025-02-26 1/week @ 2025-03-12

132 downloads per month

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
~226K SLoC