• Use unified() to a string to an Ast.Ast and then pretty-print it.

    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>

Generated using TypeDoc