Skip to content

latexMathMarkdownSyntaxExtension

const latexMathMarkdownSyntaxExtension: MarkdownConfig

Defined in: core/dist/main.d.ts:120

$...$ and $$...$$ math delimiters (TeX-style). A literal dollar is \$.

Display math with blank lines inside is parsed as a block-level Math node (see parseBlock). Other $$...$$ spans use parseInline inside a paragraph.

The outer node is Math so the same tree can be used with LaTeX (MathJax), Typst, or other renderers in @prosemark/* packages.