cite
Inline citation marker — a small superscript that anchors to the matching `#ref-<id>` entry in the references list.
The cite shortcode renders an inline citation marker — a small superscript that links to the matching entry in the page’s references list. On wiki pages, the id is usually a stable source ID from data/sources.json, so the marker and the reference entry stay aligned even when the list order changes.
Source: themes/bifrost/templates/shortcodes/cite.html
Syntax#
The Elohim created humanity in laboratories described in
Genesis{{ cite(id="sefaria", text="[1]", title="Genesis 2:7") }}.| Param | Type | Required | Default | What |
|---|---|---|---|---|
id | string | yes | — | Anchors to #ref-<id> — must match a reference entry, usually a stable source ID. |
text | string | no | [<id>] | The visible marker label. |
title | string | no | "Reference" | Tooltip text on hover. |
Output#
<sup class="wiki-cite" id="citeref-sefaria"><a href="#ref-sefaria" class="wiki-cite__link" title="Genesis 2:7">[1]</a></sup>The output is emitted on one line with no surrounding whitespace, because the marker usually follows punctuation directly; any newline would render as a visible gap before or inside the marker.
Styled by .wiki-cite — a small accent-coloured superscript in font-family-tech, no chip or border, underlined only on hover.
Related#
- Content → wiki-shortcodes —
.wiki-citestyling. ref— numbered-only variant.reference— supports both key-based and number-based ids.