docling-project/docling

Improved Footnote Serialization in `MarkdownDocSerializer`

Open

#3 128 ouverte le 14 mars 2026

Voir sur GitHub
 (13 commentaires) (0 réactions) (1 assigné)Python (4 140 forks)batch import
docling-documentenhancementgood first issue

Métriques du dépôt

Stars
 (59 751 stars)
Métriques de merge PR
 (Merge moyen 7j 5h) (93 PRs mergées en 30 j)

Description

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]

Guide contributeur