Markdown Viewer Webext 的評論
Markdown Viewer Webext 作者: Cimbali
4 筆評論
- I really like this addon. It makes me able to view markdown files from my local drives. But it's like 60% works. First md file after firefox startup always rendered, then after i made some changes to the file, then refresh it, it doesn't get rendered. Maybe it's not the addon's fault, maybe it's firefox. I don't know. But either way keep up the good work!
開發者回應
張貼於 3 年前Hi @Wicaksono, this is weird behaviour. Could you come and describe the issue over on github (https://github.com/KeithLRobertson/markdown-viewer/issues/) with more details on your system etc? 開發者回應
張貼於 7 年前This is the most common user issue on the project in GitHub. I've now explained in the README file why a BOM is important and supplied workarounds, including setting intl.charset.fallback.utf8_for_file to true, which tells Firefox to assume UTF-8 for local files. You the user have to do this step; the add-on has no way to configure settings. Fortunately, it's really very very easy!開發者回應
張貼於 7 年前Your site gist.githubusercontent.com replies with a CORS header Access-Control-Allow-Origin. Firefox therefore refuses to inject the add-ons scripts into the page, so your markdown never gets rewritten/beatified. If you save the file locally and view that in the browser, it should convert. But since your file is UTF-8 with no BOM, you will need to configure intl.charset.fallback.utf8_for_file to true. Please see the project README file for more details.- 評價 3 分,滿分 5 分來自 Kelvin Chin,7 年前It is a nice and quick add-on, but the only limitation is it looks like not well support non english charater unless encode under utf-8 with bom
開發者回應
張貼於 7 年前Thank you for the review! There are now solutions for this. Please try the latest version and check out the README file. It explains how to configure a setting which supports local UTF-8 files with no BOM.