diff --git a/docling_core/types/doc/document.py b/docling_core/types/doc/document.py index 35e6f3d..57cdf01 100644 --- a/docling_core/types/doc/document.py +++ b/docling_core/types/doc/document.py @@ -798,7 +798,7 @@ def export_to_markdown( if img is not None: imgb64 = self._image_to_base64(img) - text = f"\n![Image]({imgb64})\n" + text = f"\n![Image](data:image/png;base64,{imgb64})\n" return text else: