suitenumerique/docs

Preserve image resizing in Markdown export

开放

#2,367 创建于 2026年5月30日

 (2 条评论) (0 个反应) (0 位负责人)Python (595 个派生)github user discovery
bugexportfrontendgood first issuetriage

仓库指标

星标
 (16,557 个星标)
PR 合并指标
 (平均合并 15天 9小时) (30 天内合并 40 个 PR)

描述

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

贡献者指南