UNPKG

latex-math

Version:

Parses LaTeX math strings—typically extracted from Markdown—and converts them into an abstract syntax tree (AST).

7 lines (6 loc) 274 B
import type { Plugin } from "unified"; import type * as Ast from "@unified-latex/unified-latex-types"; /** * Unified compiler plugin that passes through a LaTeX AST without modification. */ export declare const unifiedLatexAstComplier: Plugin<void[], Ast.Root, Ast.Root>;