docling-project / docling-project/docling

Writing picture enrichment annotations to Markdown file

Open
#625 4 comments 4 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
3d 4h
Merged PRs (30d)
98

Description

### Image annotations to MD
Following the [Figure Enrichment tutorial](https://ds4sd.github.io/docling/examples/develop_picture_enrichment/) it is easy to add classification metadata to an image through the `element.annotations.append(data)` function.

However this data is not stored during the export to Markdown format. Would there be a way to write it alongside the image path in the final MD document ? Would be great for our RAG application.

Contributor guide

Open the contributing guide

Research direction

Start with the Figure Enrichment tutorial and the `element.annotations.append(data)` entry point, then trace how Markdown export handles image paths. Confirm how annotations should appear alongside each image path in the final Markdown document, and verify the exported output preserves the enrichment metadata for the RAG use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.