Why can't I preview images via HTTP? #4572
Unanswered
ChangqingChen
asked this question in
Q&A
Replies: 1 comment 6 replies
-
I believe this is due to how images and markdown is loaded inside VS Code. IIRC, they use a webview. The webview talks to a service worker which handles serving image assets and rendering the markdown preview. That means if you're using HTTP (or incognito I believe in Firefox) then service workers will be disabled (by the browser), which means your resources won't load. Hope that helps 👍 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why can't I preview images and markdown via http? Use https is normal.

Beta Was this translation helpful? Give feedback.
All reactions