Convert the unified-latex AST tree into an HTML string. If you need
more precise control or further processing, consider using unified
directly with the unifiedLatexToHast plugin.
For example,
unified() .use(unifiedLatexFromString) .use(unifiedLatexToHast) .use(rehypeStringify) .processSync("\\LaTeX to convert")
Convert the
unified-latexASTtreeinto an HTML string. If you need more precise control or further processing, consider usingunifieddirectly with theunifiedLatexToHastplugin.For example,