Microsoft/vscode

Image stays broken when re-executing Markdown cell

Open

#151,151 创建于 2022年5月30日

在 GitHub 查看
 (15 评论) (1 反应) (1 负责人)TypeScript (74,848 star) (10,221 fork)batch import
buggood first issuehelp wantednotebook

描述

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

  1. Create a Markdown cell with an tag referring to a non-existing path, e.g. <img src="myimg.png">.
  2. Execute the cell. A "broken image" icon appears.
  3. Create the image at the specified path.
  4. Click the cell to edit. Re-execute it (without making any changes).

Expected result: the image is now shown.

Actual result: still shows a broken image icon. (The image is only shown after making a change to the cell itself.)

VS Code Version

1.67.2

Jupyter Extension Version

v2022.4.1021342353

Jupyter logs

No response

Coding Language and Runtime Version

Markdown

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

贡献者指南

Image stays broken when re-executing Markdown cell · Microsoft/vscode#151151 | Good First Issue