volca / markdown-preview

Markdown Preview Plus -- Enables Chrome to render markdown files as HTML
https://chrome.google.com/webstore/detail/markdown-preview-plus/febilkbfcbhebfnokafefeacimjdckgl
MIT License
237 stars 73 forks source link

Not working for me on Chrome Version 81.0.4044.138 on Ubuntu #110

Closed krkartikay closed 4 years ago

krkartikay commented 4 years ago

When I try to open any markdown file from a local URL, it gets downloaded instead.

volca commented 4 years ago

Did you check option "Allow access to file URLs" in chrome://extensions?

krkartikay commented 4 years ago

Yes, I did.

volca commented 4 years ago

I tested it with Chrome Version 83.0.4103.61 and Ubuntu 18.04. It works fine

What version is your ubuntu?

krkartikay commented 4 years ago

What version is your ubuntu?

I'm also on 18.04. Is there any debugging output I can send you?

volca commented 4 years ago

I think it should be a MIME type detect issue. You can open the console of Chrome to view details

It may not work because chrome make a download soon

krkartikay commented 4 years ago

The file gets downloaded when the extension is turned off. The full URL I am trying to open is: file:///home/<username>/todo.md

This is what I see in the network tab: image image

I get the same thing with the extension enabled too.

volca commented 4 years ago

try to Reset Chrome to default, but sync your data first.

volca commented 4 years ago

I will close the issue. Reopen it if you need