cms-alchemy/footnote-writer
最新稳定版本:v1.0.1
Composer 安装命令:
composer require cms-alchemy/footnote-writer
包简介
A lightweight Drupal filter that converts [fn: ...] into numbered footnotes.
README 文档
README
A lightweight Drupal filter that converts simple inline footnote markers into numbered footnotes appended to the end of the content.
Overview
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
Installation
composer require cms-alchemy/footnote-writer
drush en footnote_writer
On enabling, the filter is automatically enabled for:
- Basic HTML
- Full HTML
Usage
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.
Limitations
- 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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-03-30