markdown preview is not working
See original GitHub issue/webview/main.js:115 Uncaught (in promise) Error: Service Workers are not enabled in browser. Webviews will not work.
/webview/main.js:115 Uncaught (in promise) TypeError: Cannot read property 'addEventListener' of undefined
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Markdown preview is not working · Issue #120982 - GitHub
Issue Type: Bug. I have the latest version of vsc and the docs authoring pack; I'm working on an includes markdown file; I...
Read more >VSCode: "Markdown Preview" SHIFT-COMMAND-P not working
md file in the files pane, it showed Preview, and I clicked it, and got a preview!
Read more >Markdown preview does not work : IDEA-305517 - YouTrack
Enable markdown plugin and restart IDE - just in case it helps. · Open any valid markdown file. · Try to see the...
Read more >Troubleshooting - Dendron
Troubleshooting issues are grouped by feature area. ... built-in preview instead of the Dendron preview; fixes: Use Dendron Markdown Preview ...
Read more >VS Code - Markdown Guide
Syntax highlighting; Preview; Autocompletion; Themes; Code style. It does not support WYSIWIG editing. While Visual Studio Code does not come with out-of- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey I think I tracked down the issue somehow. I have code-server behind a Nginx reverse proxy and I needed to add this to my server block:
proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;Now it works perfectly on my tablet and laptop.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.