suitenumerique/docs

Preserve image resizing in Markdown export

Aperta

#2367 aperta il 30 mag 2026

 (2 commenti) (0 reazioni) (0 assegnatari)Python (595 fork)github user discovery
bugexportfrontendgood first issuetriage

Metriche repository

Star
 (16.557 stelle)
Metriche merge PR
 (Merge medio 15g 9h) (40 PR mergiate in 30 g)

Descrizione

Bug Report

Problematic behavior

In Docs, images can be resized directly in the editor. However, this resizing is not preserved when exporting to Markdown. The exported Markdown only includes the default image syntax and ignores any width/height changes made by the user.

As a result, the visual layout of the document is lost when exporting.

Expected behavior/code

Image resizing performed in Docs should be reflected in the Markdown export using the CodiMD-style syntax:

![](URL =wxh]

This would ensure that any manual resizing done in the editor is preserved and accurately represented in exported Markdown files.

Steps to Reproduce

  1. Insert an image into a document in Docs
  2. Resize the image within the editor
  3. Export the document to Markdown
  4. Observe that the exported Markdown does not include the resized dimensions

Environment

Guida contributor