wdpr
    Preparing search index...

    Module parser/rules/block/bibliography

    Block rule for the Wikidot bibliography block: [[bibliography]] ... [[/bibliography]].

    A bibliography block holds labelled citation entries in a definition-list format. Each entry follows the pattern:

    : label : Citation description text
    

    At render time the entries are cross-referenced with inline ((bibcite label)) markers that appear elsewhere in the document. The parser stores the entries in the AST as a bibliography-block element whose entries field is an array of DefinitionListItem objects.

    Optional attributes on the opening tag:

    • title -- custom heading for the bibliography section.
    • hide -- when "true" or empty string, hides the block from output.

    If no closing [[/bibliography]] tag is found, the rule fails to avoid accidentally consuming the rest of the document.

    Variables

    bibliographyRule