Beoardielingen foar Markdown Viewer Webext
Markdown Viewer Webext troch Cimbali
Wurdearringen foar Ziah
Wurdearring: 4 fan 5
troch Ziah, 6 jierren lynIt 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 beoardielingen
- Wurdearring: 5 fan 5troch Reinir, 8 dagen lynWork excellently for my use case (.md file via internet). The example CSS help a ton.
- Wurdearring: 5 fan 5troch Vedun, ien moanne lyn
- Wurdearring: 5 fan 5troch Dennis, 2 moannen lyn
- Wurdearring: 5 fan 5troch Firefox-brûker 18719343, 6 moannen lyn
- Wurdearring: 5 fan 5troch Firefox-brûker 14643647, 10 moannen lyn
- Wurdearring: 4 fan 5troch BluGo, ien jier lynWorks as expected, I have some issues with editing the CSS but I ended up not caring as much.
- Wurdearring: 5 fan 5troch Peter Lyons Kehl, 2 jierren lynThank you. So helpful. Confirming that it works in Firefox 116.0.2 on Manjaro Linux.
- Wurdearring: 5 fan 5troch Chih-Hsuan Yen, 2 jierren lynI 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 cup.aihedy.com. 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! - Wurdearring: 5 fan 5troch TheTwitcher, 2 jierren lynLightweight, no-fuss, and formatting looks great.
- Wurdearring: 5 fan 5troch drukhier, 2 jierren lynVery nice add-on to comfortably read anything written in MarkDown.
Tiny suggestion: option to switch back to the raw view. - Wurdearring: 5 fan 5troch Firefox-brûker 17476775, 2 jierren lyn
- Wurdearring: 5 fan 5troch woutput, 2 jierren lyn
- Wurdearring: 5 fan 5troch atoad, 2 jierren lynIt 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.Antwurd ûntwikkeler
2 jierren lyn pleatstHi @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 ( ). - Wurdearring: 5 fan 5troch jgaray, 3 jierren lyn
- Wurdearring: 5 fan 5troch Arun G, 3 jierren lynWorks well on ff 105. Had to follow workaround for Linux.
- Wurdearring: 5 fan 5troch raina, 3 jierren lyn
- Wurdearring: 5 fan 5troch b1nary b0y, 3 jierren lyn
- Wurdearring: 4 fan 5troch 白墙壁, 3 jierren lynWhy was I prompted for save option when I open .md file even after installed this addon??
Antwurd ûntwikkeler
3 jierren lyn pleatstUnfortunately 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 - Wurdearring: 5 fan 5troch Firefox-brûker 16502277, 3 jierren lyn
- Wurdearring: 5 fan 5troch Duven60, 3 jierren lyn
- Wurdearring: 5 fan 5troch JonWang, 3 jierren lyn
- Wurdearring: 4 fan 5troch darccyy, 3 jierren lyn
- Wurdearring: 5 fan 5troch David C., 3 jierren lyn
- Wurdearring: 3 fan 5troch Wicaksono, 3 jierren lynI 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!
Antwurd ûntwikkeler
3 jierren lyn pleatstHi @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?