Function processLatexViaUnified
- processLatexViaUnified(options?): Processor<Root, Root, Root, string>
Parameters
Optional
options: {
forceNewlineEnding?: boolean;
pretty?: boolean;
printWidth?: number;
useTabs?: boolean;
} & {
environments?: EnvInfoRecord;
flags?: {
atLetter?: boolean;
autodetectExpl3AndAtLetter?: boolean;
expl3?: boolean;
};
macros?: MacroInfoRecord;
mode?: "math" | "regular";
}
Returns Processor<Root, Root, Root, string>
Use
unified()
to a string to anAst.Ast
and then pretty-print it.