Pohódnoćenja za Markdown Viewer Webext
Markdown Viewer Webext wot Cimbali
Pohódnoćenje wot Ziah
Z 4 z 5 pohódnoćeny
wot Ziah, 6 років тому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.
101 pohódnoćenje
- Z 5 z 5 pohódnoćenywot Reinir, 6 місяців томуWork excellently for my use case (.md file via internet). The example CSS help a ton.
- Z 5 z 5 pohódnoćenywot Vedun, 7 місяців тому
- Z 5 z 5 pohódnoćenywot Dennis, 9 місяців тому
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 18719343, рік тому
- Z 5 z 5 pohódnoćenywot Wužiwar Firefox 14643647, рік тому
- Z 4 z 5 pohódnoćenywot BluGo, 2 роки томуWorks as expected, I have some issues with editing the CSS but I ended up not caring as much.
- Z 5 z 5 pohódnoćenywot Peter Lyons Kehl, 2 роки томуThank you. So helpful. Confirming that it works in Firefox 116.0.2 on Manjaro Linux.
- Z 5 z 5 pohódnoćenywot Chih-Hsuan Yen, 2 роки томуI 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! - Z 5 z 5 pohódnoćenywot drukhier, 3 роки томуVery nice add-on to comfortably read anything written in MarkDown.
Tiny suggestion: option to switch back to the raw view. - Z 5 z 5 pohódnoćenywot Wužiwar Firefox 17476775, 3 роки тому
- Z 5 z 5 pohódnoćenywot woutput, 3 роки тому
- Z 5 z 5 pohódnoćenywot atoad, 3 роки тому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.Wotmołwa wuwiwarja
je so 3 роки тому napisałHi @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 ( ). - Z 5 z 5 pohódnoćenywot jgaray, 3 роки тому
- Z 5 z 5 pohódnoćenywot raina, 3 роки тому
- Z 5 z 5 pohódnoćenywot b1nary b0y, 3 роки тому
- Z 4 z 5 pohódnoćenywot 白墙壁, 3 роки томуWhy was I prompted for save option when I open .md file even after installed this addon??
Wotmołwa wuwiwarja
je so 3 роки тому napisałUnfortunately 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 - Z 5 z 5 pohódnoćenywot Wužiwar Firefox 16502277, 4 роки тому
- Z 5 z 5 pohódnoćenywot Duven60, 4 роки тому
- Z 5 z 5 pohódnoćenywot JonWang, 4 роки тому
- Z 4 z 5 pohódnoćenywot darccyy, 4 роки тому
- Z 5 z 5 pohódnoćenywot David C., 4 роки тому