{% footnote %}
Valid Parent Contexts
This tag is valid inside: {% article %}
Rules
| Rule | Force | Realm | Reference | Description |
|---|---|---|---|---|
footnote-inline-placement | | | β | Place inline inside paragraph text, immediately after the word or clause it annotates. Block-level placement (as a standalone tag between paragraphs) is parsed correctly but produces an isolated superscript, which is visually awkward. |
footnote-text-only | | | β | Footnote body is plain text only. Markdown formatting (bold, italics, links) is not rendered in the collected footnote list. |
footnote-no-include | | | β | Articles do not support . Fragment inlining could inject footnotes from external sources, breaking the sequential numbering contract. Articles are self-contained documents. |
\{% footnote %\} has no attributes. The body is the footnote text (plain text only β Markdown is not rendered).
Rendering mechanics
- Each
\{% footnote %\}is replaced inline with a superscript number link:<sup><a href="#fn-\{article-id\}-N">[N]</a></sup> - Numbering is sequential per article (1, 2, 3, β¦).
- All footnote content is collected and rendered at the bottom of the page, below an
<hr />, as an ordered list with back-links:
<ol class="footnotes"> <li id="fn-{article-id}-1">β¦contentβ¦ <a href="#fnref-β¦">β©</a></li></ol>- DOM IDs are prefixed with the article id (e.g.
fn-market-research-1) to prevent collisions across pages.
Astro component: ArticleFootnotes.astro
Two inline footnotes inside paragraph text
Honour withdrawal as a valid regulatory strategy{% footnote %}This is contentiousin the literature. Gottman sees stonewalling as destructive, but Johnson framestemporary withdrawal as a legitimate self-regulation strategy when followed byre-engagement.{% /footnote %} β our design should support time-bounded withdrawal.
People in intimate relationships need to feel free{% footnote %}Freedom here meansboth the freedom to express difficult emotions *and* the freedom to not beoptimised.{% /footnote %} β our tool should expand their repertoire.