Parses the Wikidot bibliography citation syntax: ((bibcite label)).
A bibcite creates a numbered inline reference (similar to footnotes)
that links to a corresponding entry in a [[bibliography]] block
elsewhere on the page. The label string is used to match the
citation with its bibliography entry.
Unlike most inline blocks that start with [[, bibcite uses double
parentheses ((...)) as delimiters. The keyword bibcite must
appear (case-insensitive) between the opening (( and the label.
Produces a "bibliography-cite" AST element. The label is also
pushed into ctx.bibcites so the renderer can later resolve
citation numbers.
Wikidot syntax examples:
((bibcite author2024)) -- cite with label "author2024"
((bibcite my-source)) -- cite with label "my-source"
Parses the Wikidot bibliography citation syntax:
((bibcite label)).A bibcite creates a numbered inline reference (similar to footnotes) that links to a corresponding entry in a
[[bibliography]]block elsewhere on the page. Thelabelstring is used to match the citation with its bibliography entry.Unlike most inline blocks that start with
[[, bibcite uses double parentheses((...))as delimiters. The keywordbibcitemust appear (case-insensitive) between the opening((and the label.Produces a
"bibliography-cite"AST element. The label is also pushed intoctx.bibcitesso the renderer can later resolve citation numbers.Wikidot syntax examples:
((bibcite author2024))-- cite with label "author2024"((bibcite my-source))-- cite with label "my-source"