# footnotes

URL: /patitas/api/plugins/footnotes/
Section: plugins
Description: Footnotes plugin for Patitas.

Adds support for footnote references and definitions.

Usage:
    >>> md = create_markdown(plugins=["footnotes"])
    >>> md("Text with footnote[^1].

[^1]: Footnote content.")
    '<p>Text with footnote<sup><a href="#fn-1">1</a></sup>.</p>...'

Syntax:
Reference: [^identifier]
Definition: [^identifier]: Content here

Multi-line definitions:
[^note]:
    First paragraph of footnote.

    Second paragraph with indent.

Features:
- Numeric or named identifiers: [^1], [^note]
- Footnotes collected and rendered at end
- Back-references from footnote to text
- Multi-paragraph footnotes with indentation

Thread Safety:
This plugin is stateless and thread-safe.

---

> For a complete page index, fetch /patitas/llms.txt.

Open LLM text
(/patitas/api/plugins/footnotes/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Ffootnotes%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Ffootnotes%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Ffootnotes%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Ffootnotes%2Findex.txt)

Module

#
`plugins.footnotes`

Footnotes plugin for Patitas.

Adds support for footnote references and definitions.

Usage:

```
>>> md = create_markdown(plugins=["footnotes"])
>>> md("Text with footnote[^1].
```

```
'<p>Text with footnote<sup><a href="#fn-1">1</a></sup>.</p>...'
```

Syntax:

Reference: [^identifier]
Definition: [^identifier]: Content here

Multi-line definitions:

```
First paragraph of footnote.

Second paragraph with indent.
```

Features:

- Numeric or named identifiers: [^1], [^note]

- Footnotes collected and rendered at end

- Back-references from footnote to text

- Multi-paragraph footnotes with indentation

Thread Safety:

This plugin is stateless and thread-safe.

-
Footnote content.")↩ (#fnref-1)

-

1Class

## Classes

`FootnotesPlugin`

1

▼

Plugin adding [^1] footnote support.

Footnotes are:
1. Parsed as inline references [^id]
2. Define…

Plugin adding [^1] footnote support.

Footnotes are:

- Parsed as inline references [^id]

- Defined as block elements [^id]: content

- Rendered as a footnotes section at document end

Enable via Markdown(plugins=["footnotes"]).

Note: The actual parsing is controlled by ParseConfig.footnotes_enabled,
which is set by the Markdown class based on the plugins list.

#### Methods

`name`

0

`str`

▼

property

`def name(self) -> str`

##### Returns

`str`
