markdown-viewer: Not rendering local .md file despite allowing file:///* URLs and local file URLs

Hi, thanks for creating this extension!

For some reason this isn’t rendering markdown for me.

image

I’ve allowed both file:///* URLs and access to local file URLs as you can see in the screenshot below.

The file URL is file:///C:/Users/Aron/Google%20Drive/today-scratchpad.md

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (9 by maintainers)

Most upvoted comments

I had a similar problem with my README.MD file.

My solution was that in advanced origins I edited the local file match. The default version allows these: \.(?:markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\?.*)?$ But it does not contain MD extensions written with capitals. So I highly recommend you to add it to this list: \.(?:markdown|mdown|mkdn|md|MD|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\?.*)?$

Maybe it will help others too.

I removed and reinstalled it but it still didn’t work – until I clicked the “defaults” button and then suddenly it worked. So it’s fixed now, but I don’t know why it didn’t work right after reinstallation, even when I gave it all the required permissions

I found it necessary to switch Chrome’s “Safe Browsing” level (under “Privacy and Security” settings) from “Enhanced” to “Standard.” This is in addition to allowing access to file:// URLs, etc.

I’m not sure when it broke (it’s been a while), but, with the Safe Browsing change, I got it working again in Chrome Version 114.0.5735.199 (Official Build) (64-bit) on Windows 10.

@simov thanks for the really quick response! Killing Chrome and restarting the Mac fixed it for me. Some extensions were working, including an asciidoc one I regularly use, but this one seemed to have run into difficulties. Sorry for the false alarm!!

@somahargitai I’m glad you were able to solve your problem but my file has a lowercase .md extension and still doesn’t work. 🤷