simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.08k stars 135 forks source link

bug report #153

Closed InvisibleLeVen closed 1 year ago

InvisibleLeVen commented 3 years ago

The local md file cannot be viewed, I set it up according to the tutorial image No matter how I refresh it, the md file still cannot be parsed image

simov commented 3 years ago

Can you try with lowercased file extension, like md instead of MD?

InvisibleLeVen commented 3 years ago

Can you try with lowercased file extension, like md instead of MD?

I tried to change the file suffix to md, it can be parsed correctly, I suggest to support the uppercase

simov commented 3 years ago

Yes, that's a known issue, in the meantime you can update the Path Matching RegExp. Go to the options screen for the Markdown Viewer extension, you can click on the Advanced Options button inside the extension's popup. Then for the file:// entry add MD something like ...|md|MD|..