@wdprlib/decompiler
    Preparing search index...

    Function htmlToAst

    • Convert an HTML string into a Wikidot AST (SyntaxTree).

      The returned tree includes a footnotes array when footnote content is detected in the HTML.

      Parameters

      • html: string

        The HTML string to parse

      • Optionaloptions: DecompileOptions

        Decompilation options

      Returns SyntaxTree

      The resulting syntax tree