wdpr
    Preparing search index...

    Module parser/rules/inline/anchor-name

    Parses the Wikidot named anchor syntax: [[# name]].

    A named anchor creates an invisible anchor target (<a id="name">) that can be referenced by page-internal links such as [#name Label] or triple-bracket anchor links like [[[#name]]].

    The anchor name must consist exclusively of the characters [-_A-Za-z0-9.%] (matching the original Wikidot regex /(\[\[# )([-_A-Za-z0-9.%]+?)(\]\])/i).

    A whitespace gap is required between the # and the name ([[# myAnchor]] is valid; [[#myAnchor]] is not).

    Produces an "anchor-name" AST element whose data field contains the raw anchor name string.

    Variables

    anchorNameRule