docling-project/docling

Improved Footnote Serialization in `MarkdownDocSerializer`

Open

#3.128 geöffnet am 14. März 2026

Auf GitHub ansehen
 (13 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (4.140 Forks)batch import
docling-documentenhancementgood first issue

Repository-Metriken

Stars
 (59.751 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 5h) (93 gemergte PRs in 30 T)

Beschreibung

Requested feature

Currently, footnotes are serialized as part of MarkdownDocSerializer more or less as-is:

Serialized as:

5 https://github.com/tesseract-ocr/tesseract

6 https://github.com/VikParuchuri/surya

7 https://github.com/lukas-blecher/LaTeX-OCR

Alternatives

For downstream LLM-based applications it would be helpful if footnotes were serialized as actual footnotes in Markdown Syntax for the LLM to indentify them as footnotes (and not as a numbered list, for example).

^[5 https://github.com/tesseract-ocr/tesseract]

^[6 https://github.com/VikParuchuri/surya]

^[7 https://github.com/lukas-blecher/LaTeX-OCR]

Contributor Guide