Beoardielingen foar Markdown Viewer
Markdown Viewer troch simov
66 beoardielingen
- Wurdearring: 3 fan 5troch Ziah, 6 jierren lynOf all the markdown extensions I like the way this one looks the most. I'm bummed that it totally doesn't work.
Just getting file:// URLs to open in firefox is a huge pain. Whenever I open markdown files, Firefox just wants to download them. See here to fix: https://superuser.com/questions/696361/how-to-get-the-markdown-viewer-addon-of-firefox-to-work-on-linux/1175837#1175837
Edit: This isn't the fault of the extension
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 the rest of my system. I then added "text/plain md markdown" in that file. The problem is due to the way firefox handles files and mimetypes.
Edit: Again, this isn't a problem with the extension but does make it tricky to set up.
With this extension, when I open a markdown page, about half the time I just get a blank white page and half the time I see the file. Whenever I enable markdown or change markdown settings, the page reloads and I almost always get back to the blank white page.
When I open the addon's settings page, there are some pretty bad graphical glitches, everything is squished together and the bottom border just keeps slowly inching farther and farther down my screen.Antwurd ûntwikkeler
6 jierren lyn pleatstThe file:// URL issue is related to how Firefox handles markdown mime types. So unless Firefox do something about it I can do little, reminder, this is a Browser Extension for Firefox > 57, meaning that I don't have unrestricted access to the user's system.
About the blank page issue, that was caused by interference with other extensions and it was fixed on Chrome, I just have to publish the new version here.
About the settings page, you have to open it from the extension's popup in a separate window. The advanced options page is not optimized for the Firefox builtin extensions view.
EDIT: The 'Blank Page Issue' should be fixed now in v3.8 - Wurdearring: 3 fan 5troch Firefox-brûker 15230443, 7 jierren lyn
- Wurdearring: 5 fan 5troch ValentinG_, 7 jierren lyn
- Wurdearring: 5 fan 5troch Acsor, 7 jierren lynThis addon does more than I expected it would. Being able to set a great variety of themes (incuded a dark one) is a great plus.
- Wurdearring: 5 fan 5troch Zachary Guo, 8 jierren lynThis add-on is a subsitution of https://addons.mozilla.org/zh-CN/firefox/addon/markdown-viewer/?src=search
Unfortunately, that author didn't maintain the add-on, but It can open markdown files in a Frame, this is the most important reason for I still stay on Firefox 56 and not upgrade to Firefox Quantum.
Simeon Velichkov's markdown-viewer is compatible with Firefox Quantum, But it can not display markdown in a Frame, can you solve this problem? - Wurdearring: 4 fan 5troch Firefox-brûker 14300548, 8 jierren lynGood, but it doesn't correctly interpret code blocks for python
Antwurd ûntwikkeler
8 jierren lyn pleatstPrismJS (https://prismjs.com) is responsible for the syntax highlighting, so in case there is a problem with it you have to ask for help there. I can only bump the version in my extension if they have a fix. Other than that fenced code blocks should be used as usual - ```python - Wurdearring: 5 fan 5troch Firefox-brûker 14027290, 8 jierren lyn
- Wurdearring: 5 fan 5troch Firefox-brûker 13746822, 8 jierren lynSimply opened and rendered my file when needed for the local drive. Mission accomplished.
- Wurdearring: 5 fan 5troch Firefox-brûker 12822726, 8 jierren lyn
- Wurdearring: 1 fan 5troch Firefox-brûker 13549749, 8 jierren lynI did not success to configure the plugin (firefox Quantum), even when declaring the exact markdown complete URL as allowed. Firefox is still proposing for downloading the file, instead of displaying it.
Either the configuration is too complicated to perform (or too complicated for me) or the module does not work.Antwurd ûntwikkeler
8 jierren lyn pleatstCurrently access to file:// URLs is not supported!
For the rest of the configuration you can watch this short screencast (only 3 min - no sound):
https://youtu.be/c7Lb_Y092ok - Wurdearring: 5 fan 5troch teknopaul, 8 jierren lynProblems with this plugin are endemic with Mozilla and Firefox and not the plugin.
Often, it does not work, because Mozilla Security.
This is because Mozilla think we trust them more than the plugin dev, which I personally never do.
Mozilla break userland all the time.
they break and nofix any bugs.
Mozilla send our data to Google without asking, & close no fix that always. WTF? I would like to view Markdown file _I_ write in a browser, often Mozilla say no. So I recommend any tool outside this browser. e.g. apt install retext which Mozilla cannot remote break every few months.Antwurd ûntwikkeler
8 jierren lyn pleatstCurrently access to file:// URLs is not supported!
For the rest of the configuration you can watch this short screencast (only 3 min - no sound): https://youtu.be/c7Lb_Y092ok