A lightweight Drupal filter that converts simple inline footnote markers into numbered footnotes appended to the end of the content.
Footnote Writer provides a minimal syntax for adding footnotes directly inside text without dealing with HTML or manual numbering.
It is designed to:
- reduce friction while writing
- avoid manual footnote management
- integrate cleanly with Drupal’s text format system
This module does one thing:
- transform [fn: ...] into structured, numbered footnotes
composer require cms-alchemy/footnote-writer
drush en footnote_writer
On enabling, the filter is automatically enabled for:
- Basic HTML
- Full HTML
Write footnotes inline using:
[fn: This is a footnote.]
Multiple footnotes are supported:
This is a sentence.[fn: First note.]
Another sentence.[fn: Second note.] Output Behavior
The filter will:
replace each [fn: ...] with a numbered marker in the text collect all footnotes append them to the end of the content in order
Example (conceptual):
This is a sentence.¹
Another sentence.²
- First note.
- Second note.
- Nested footnotes are not supported
- Complex structures inside footnotes may not render as expected
- Interaction with other filters depends on filter order
- No UI configuration