wdpr
    Preparing search index...

    Configuration for the Parser and the parse function.

    All fields are optional; sensible defaults are applied when omitted.

    interface ParserOptions {
        settings?: WikitextSettings;
        trackPositions?: boolean;
        version?: "wikidot";
    }
    Index

    Properties

    settings?: WikitextSettings

    Context-dependent feature flags (page vs. forum-post, etc.). Defaults to DEFAULT_SETTINGS (full page mode).

    trackPositions?: boolean

    Propagate source-position data into every AST node. Defaults to true. Set to false for smaller output when positions are not needed.

    version?: "wikidot"

    Markup dialect. Currently only "wikidot" is supported.