docling-project/docling

Improved Footnote Serialization in `MarkdownDocSerializer`

Open

#3128 aperta il 14 mar 2026

Vedi su GitHub
 (13 commenti) (0 reazioni) (1 assegnatario)Python (4140 fork)batch import
docling-documentenhancementgood first issue

Metriche repository

Star
 (59.751 star)
Metriche merge PR
 (Merge medio 7g 5h) (93 PR mergiate in 30 g)

Descrizione

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]

Guida contributor