question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Sep 13, 2021

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.

0reactions
stale[bot]commented, May 16, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found