Markdown Viewer Webext értékelései
Markdown Viewer Webext szerző: Cimbali
Ziah értékelése
It took me a while to even get it to do anything. I would appreciate proper instructions on how to use the extension.
This is not a problem with this extension, rather with Firefox. Whenever I open markdown files in firefox, it just wants to download them. I ended up having to change the mimetype text/plain to also include the extensions .md and .markdown. See here: https://superuser.com/questions/696361/how-to-get-the-markdown-viewer-addon-of-firefox-to-work-on-linux/1175837#1175837
The way the superuser article fixes the problem involves making all markdown files part of the text/plain mimetype but other apps on KDE (and possibly other 'DEs) use the text/markdown mimetype differently than text/plain. So I went into about:config and changed helpers.private_mime_types_file to a custom file (e.g. ~/.firefox-mime.types) to separate firefox's mimetypes from my system. I then added "text/plain md markdown" in that file. The problem is due to the way firefox handles files and mimetypes.
I am unable to change the code style in the markdown-viewer menu which is very frustrating, the markdown style does work.
This is not a problem with this extension, rather with Firefox. Whenever I open markdown files in firefox, it just wants to download them. I ended up having to change the mimetype text/plain to also include the extensions .md and .markdown. See here: https://superuser.com/questions/696361/how-to-get-the-markdown-viewer-addon-of-firefox-to-work-on-linux/1175837#1175837
The way the superuser article fixes the problem involves making all markdown files part of the text/plain mimetype but other apps on KDE (and possibly other 'DEs) use the text/markdown mimetype differently than text/plain. So I went into about:config and changed helpers.private_mime_types_file to a custom file (e.g. ~/.firefox-mime.types) to separate firefox's mimetypes from my system. I then added "text/plain md markdown" in that file. The problem is due to the way firefox handles files and mimetypes.
I am unable to change the code style in the markdown-viewer menu which is very frustrating, the markdown style does work.
100 értékelés
- Csillagos értékelés: 5 / 5készítette: Dennis, egy hónapja
- Csillagos értékelés: 5 / 5készítette: Firefox felhasználó 18719343, 5 hónapja
- Csillagos értékelés: 5 / 5készítette: Firefox felhasználó 14643647, 9 hónapja
- Csillagos értékelés: 5 / 5készítette: Peter Lyons Kehl, 2 éveThank you. So helpful. Confirming that it works in Firefox 116.0.2 on Manjaro Linux.
- Csillagos értékelés: 5 / 5készítette: Chih-Hsuan Yen, 2 éveI also got the security error, and looks like it is recognized by the author. Going back to the old version fixes it. From https://github.com/Cimbali/markdown-viewer/issues/106#issuecomment-1614403451,
> this is likely due to some errors in the latest release, which I’ve pulled from addons.mozilla.org. If you simply uninstall and reinstall the add-on you’ll revert to version 1.8.1 which is the previous one.
Thanks for the hard work! - Csillagos értékelés: 1 / 5készítette: Firefox felhasználó 14723339, 2 éveSince security is very annoying, I've unisntalled this application.
- Csillagos értékelés: 5 / 5készítette: TheTwitcher, 2 éveLightweight, no-fuss, and formatting looks great.
- Csillagos értékelés: 5 / 5készítette: Firefox felhasználó 17476775, 2 éve
- It does everything it should, but my new lines don't get rendered unless I double them.
When I write something like this:
"Hello
World"
It gets rendered as
"Hello World"
When I write
"Hello
World"
it gets rendered as
"Hello
World".
I am using Notepad++ to write the .md file and it uses [CR][LF] (Windows standard I think) as new line indicators.
Edit:
Updated my rating because I was just using it wrong.Fejlesztői válasz
közzétéve: 2 éveHi @atoad that’s correct, as specified by the markdown spec (see https://daringfireball.net/projects/markdown/syntax#p). To do a simple line break you can finish the line with either a single backslash (\), an html line break tag (<br />) or 2 spaces ( ). - Csillagos értékelés: 5 / 5készítette: b1nary b0y, 3 éve
Fejlesztői válasz
közzétéve: 3 éveUnfortunately this issue is linked to how Firefox on Linux detects and handles file types. There’s nothing that can be done from within the addon, but our README does provide a few ways to configure Firefox or your system to fix the issue. To allow addons to directly handle file types we are waiting on https://bugzilla.mozilla.org/show_bug.cgi?id=1457500- Csillagos értékelés: 5 / 5készítette: Firefox felhasználó 16502277, 3 éve
- 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!
Fejlesztői válasz
közzétéve: 3 éveHi @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?