wdpr
    Preparing search index...
    bibliographyRule: BlockRule = ...

    Block rule for Wikidot [[bibliography]]...[[/bibliography]].

    Parsing strategy:

    1. Match BLOCK_OPEN + block name "bibliography".
    2. Parse optional attributes (title, hide).
    3. Consume the closing ]] and optional newline.
    4. Loop over the body, parsing each : label : content line via parseBibliographyEntry(). Whitespace, newlines, and unknown tokens between entries are skipped.
    5. Stop when [[/bibliography]] is found and consume it.
    6. If no closing tag is encountered, fail the rule entirely.
    7. Convert entries into DefinitionListItem format and emit a bibliography-block element.