simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.01k stars 131 forks source link

Can't open MD files in Chrome #237

Open yzmninglang opened 2 months ago

yzmninglang commented 2 months ago

I've tried to render a markdown file in chrome, and all the permissions I need have been given, but it still doesn't seem to be possible to view the MD file in chrome,Because Chrome will automatically download the MD file instead of opening it through the plugin image image image chrome version:124.0.6367.63 OS:windows10

simov commented 2 months ago

Usually this happens because a third-party application installed on your system modifies the system mime types for markdown content that the browser relies on. Disable the extension and try to load the .md file in your browser - by default it should render it as plain text, but in your case it will try to download it. You have to find out what changed your system settings and fix that before you can use the markdown viewer. Let me know if that helps.

BingoKingo commented 2 months ago

Cannot preview Markdown on Kiwi for modern Android because it use content:// URI provider to access local files instead of file://, and I cannot add url in site access fields.

simov commented 2 months ago

I'm not entirely sure if that's going to work. In case the Kiwi browser is using the same extensions implementation then the origin will have to match one of these.