Convert the unified-latex AST tree into a Markdown string. If you need
more precise control or further processing, consider using unified
directly with the unifiedLatexToMdast plugin.
For example,
unified() .use(unifiedLatexFromString) .use(unifiedLatexToMdast) .use(remarkStringify) .processSync("\\LaTeX to convert")
Convert the
unified-latex
ASTtree
into a Markdown string. If you need more precise control or further processing, consider usingunified
directly with theunifiedLatexToMdast
plugin.For example,