simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.02k stars 132 forks source link

the chrome in ubuntu cannot open a local file, it only support downloading the file, what should I do? #155

Closed DS-Liu closed 1 year ago

simov commented 2 years ago

Check out the documentation https://github.com/simov/markdown-viewer#local-files you need these two settings enabled.

DS-Liu commented 2 years ago

I'v already enabled access to file URLs as shown in the screenshot bellow image

but as you can see, when I click the *.md file, it just show the download window instead of showing the test. image

The chrome is of version 95.0.4638.69 on ubuntu 20.04 LTS.

It can't open any file in this folder but it can open some other files in the subfolders. I'm a bit confused.

simov commented 2 years ago

Can you try this as well:

file-access

DS-Liu commented 2 years ago
DS-Liu commented 2 years ago

Since I have VS code installed, I could just use it to view local *.md files