microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 293 forks source link

Markdown cell fails to embed image from Drive #15819

Open dtrizna opened 5 months ago

dtrizna commented 5 months ago

Applies To

What happened?

Markdown has ability to insert files from remote location. It generally works fine in VSCode, but does not with drive.google.com links for some reason, e.g.:

<img src="https://drive.google.com/uc?id=1NJ2ivw31VV94LeYSPayvmvsZ-BZlPa7i" width="600">

nor

<img src="https://drive.usercontent.google.com/download?id=1NJ2ivw31VV94LeYSPayvmvsZ-BZlPa7i&authuser=0" width="600">

image

It works both in Collab and in Github's notebook parser. This is the method people suggest to embed images when working in Collab. To keep availability of material in both platforms (Collab and VSCode), solving this bug is paramount.

VS Code Version

Version: 1.90.2 (user setup) Commit: 5437499feb04f7a586f677b155b039bc2b3669eb Date: 2024-06-18T22:34:26.404Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631

Jupyter Extension Version

v2024.5.0

Jupyter logs

No response

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

None

dtrizna commented 4 months ago

Hey! Is there any chance to get an update on that?