Preserve image resizing in Markdown export
#2.367 aberto em 30 de mai. de 2026
Métricas do repositório
- Stars
- (16.557 estrelas)
- Métricas de merge de PR
- (Mesclagem média 15d 9h) (40 fundiu PRs em 30d)
Description
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
- Insert an image into a document in Docs
- Resize the image within the editor
- Export the document to Markdown
- Observe that the exported Markdown does not include the resized dimensions
Environment
- Instance url: https://docs.numerique.gouv.fr/