docling-project/docling

Markdown serialization of headings in rich table cells

Open

#2.722 geöffnet am 4. Dez. 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (4.140 Forks)batch import
buggood first issuemarkdown

Repository-Metriken

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

Beschreibung

Bug

In docling-core, the MarkdownTableSerializer transforms DoclingDocument headings and titles into markdown headings (i.e., text with preceding # symbols). According to the markdown specs, you can’t use headings, blockquotes, lists, horizontal rules, images, or most HTML tags when formatting text within tables and most applications will not render those headings properly.

Steps to reproduce

Convert Docling's test file table_with_heading_02.html to markdown or check its ground truth file table_with_heading_02.html.md

Docling version

Docling version: 2.64.0 Docling Core version: 2.51.1 Docling IBM Models version: 3.10.2 Docling Parse version: 4.7.1 Python: cpython-313 (3.13.5) Platform: macOS-14.7.1-arm64-arm-64bit-Mach-O

Python version

Python 3.13.5

Contributor Guide