docling-project / docling-project/docling

Feature Request: Relative paths for images in exported markdown

Open
#3,678 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Requested feature

Use relative paths for images in exported markdown. Currently, the complete terminal file path is used, which makes portability difficult. This could be selected via a CLI option.

...

### Alternatives

Manual editing of exported md files—doable, but irritating if working with many files. Could be automated with a script, but including the option in Docling would be preferable.

Contributor guide

Open the contributing guide

Research direction

Locate the markdown export path and the existing CLI option handling; the issue does not name specific files or tests. Confirm how image paths are currently built, then verify that an option produces relative paths while the existing terminal-path behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.