Markdown Viewer is an open source browser extension hosted on GitHub: https://github.com/simov/markdown-viewer/tree/firefox
Build the themes and vendor folders, and create the markdown-viewer.zip package:
cd markdown-viewer/
sh build/package.sh firefox