MDPreview is browser extension to preview Markdown files locally or on the web. It is forked from GitHub Flavored Markdown.
Compared to GitHub Flavored Markdown v0.0.6, MDPreview for Chrome 0.1 made the following changes:
- Added a Windows registry file md.reg to tell what the MIME type of
.md
file is. - Dropped type support for
.mdown
.markdown
, added type support fortext/vnd.daringfireball.markdown
- Don't watch opened local file by default.
p.s. Users can set whether or not to watch opened local file in future release. - Support physical A4 21cm-width to preview content.
p.s. you need to customize relative DPI ratio according to your monitor in page.css. in my case it's1.4709583133562356
, a.k.a.Math.sqrt(1920*1920+1080*1080)/15.6/96
.
- To preview markdown files locally, you need to nerge md.reg to registry.
- Open Chrome, navigate to chrome://extensions/, enable developer mode and drop this folder into the Chrome Extensions page.
- Open a
.md
file with Chrome locally, or visit any web.md
resource with one of MIME typestext/plain
text/markdown
text/x-markdown
text/vnd.daringfireball.markdown
.
- Open Firefox, navigate to about:debugging, click "Load temporary add-ons" and select manifest.json.
- Open a
.md
file with Firefox locally, or visit any web.md
resource with one of MIME typestext/plain
text/markdown
text/x-markdown
text/vnd.daringfireball.markdown
.