1.8.2 • Published 9 months ago
@unified-latex/unified-latex v1.8.2
unified-latex
What is this?
Functions parse strings to a unified-latex Abstract Syntax Tree (AST).
When should I use this?
If you have a string that you would like to parse to a unified-latex Ast.Ast, or
if you are building a plugin for unified() that manipulates LaTeX.
Install
npm install @unified-latex/unified-latexThis package contains both esm and commonjs exports. To explicitly access the esm export,
import the .js file. To explicitly access the commonjs export, import the .cjs file.
Constants
| Name | Type | Description |
|---|---|---|
processLatexToAstViaUnified | () => Processor<Ast.Root, Ast.Root, Ast.Root, void> | Use unified() to a string to an Ast.Ast and then return it. This function
will not print/pretty-print the Ast.Ast back to a string. |
processLatexViaUnified | (options?: StringCompilerPluginOptions & ParserPluginOptions) => Processor<Ast.Root, Ast.Root, Ast.Root, string> | Use unified() to a string to an Ast.Ast and then pretty-print it. |
1.8.2
9 months ago
1.8.1
1 year ago
1.8.0
1 year ago
1.7.1
2 years ago
1.7.0
2 years ago
1.6.1
2 years ago
1.6.0
2 years ago
1.4.2
2 years ago
1.5.0
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.2
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.2.1
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.12
3 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago