wdpr
    Preparing search index...
    linkAnchorRule: InlineRule = ...

    Inline rule for parsing [#anchor Label] anchor links.

    Triggered by a BRACKET_ANCHOR ([#) token. Collects the optional anchor name, then the required label text, stopping at the closing ] bracket.

    Fails if:

    • No closing ] is found on the same line
    • The label text is empty