Microsoft/vscode

Image stays broken when re-executing Markdown cell

Open

#151.151 aberto em 30 de mai. de 2022

Ver no GitHub
 (15 comments) (1 reaction) (1 assignee)TypeScript (10.221 forks)batch import
buggood first issuehelp wantednotebook

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

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

Guia do colaborador