This morning, I’ve found a Firefox Add-on called
Markdown Viewer. As its name suggests, it’s a Firefox plugin
that enables users to view Markdown documents. The screenshot
provided on the home page of the add-on illustrates that it works on
M$ Win*. How about GNU/Linux? I clicked the button and installed
the plugin. After that, I used
:restart in Vimperator to see what
happened if I used Firefox to view a local Markdown file with
It turned out that nothing happened! With Lai’s review titled Work on
Linux, I figured out what to do. After looking at his suggested code
vi ~/.mozilla/firefox/*default/mimeTypes.rdf, I really tested it
and it worked. Critical readers will then ask about the way to
include multiple file extensions.
Browsing the code with
# in the RDF file helps. Here’s what my
1 2 3 4 5 6 7 8 9
According to a question on Super User, we use more than
one extension name for a Markdown file. However, a GNU/Linux user
should never use
Finally, combining Lai’s and Cas’s posts, I’ve come up with a Gist.
Posted via UltraBlog.vim.