docling-project / docling-project/docling

Improved Footnote Serialization in `MarkdownDocSerializer`

Open
#3,128 13 comments 0 reactions 1 assignee Claimed by @ShrillHarrier View on GitHub
docling-document enhancement good first issue
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Requested feature
Currently, footnotes are serialized as part of `MarkdownDocSerializer` more or less as-is:

Image

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.