Markdown Viewer / Browser Extension

simov 82e3d9bdbf Update prism styles 9 years ago
chrome cf512eb7ac Migrate to space indentation 10 years ago
css 82e3d9bdbf Update prism styles 9 years ago
fonts 3dd9d0fecd Initial commit 11 years ago
images 570b9a2b4e Remove dirty-shade image 10 years ago
js cf512eb7ac Migrate to space indentation 10 years ago
jslib 0293097a43 Update prism 10 years ago
themes 69926dfc5e Update github theme 10 years ago
views cf512eb7ac Migrate to space indentation 10 years ago
LICENSE 94ae5d5bb5 Update license 10 years ago
README.md ef542750c8 Update docs 10 years ago
manifest.json 03753e3181 Version bump 10 years ago

README.md

Markdown Viewer / Chrome Extension

Install

Features

  • Built on top of the marked compiler
  • Support for GitHub Flavored Markdown
  • Full control over the compiler options
  • 20 themes from jasonm23 and mixu
  • Syntax highlighted code blocks using prism
  • Settings synchronization through google sync
  • Quickly switch between raw markdown and html
  • Supported file extensions markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text
  • Built as event page - the extension is loaded only when it's needed
  • Open source

After Install

To enable the extensions for local files:

  1. Navigate to chrome://extensions
  2. Make sure that the Allow access to file URLs checkbox is checked for the Markdown Viewer extension

To enable HTML tag rendering:

  1. Click on the small m icon in the right side of your browser's address bar
  2. Under the Compiler Options make sure the sanitize option is unchecked

Compiler Options

Option Default Description
breaks false Enable GFM line breaks. This option requires the gfm option to be true.
gfm true Enable GitHub flavored markdown.
pedantic false Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
sanitize true Sanitize the output. Ignore any HTML that has been input.
smartLists true Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.
smartypants false Use "smart" typograhic punctuation for things like quotes and dashes.
tables true Enable GFM tables. This option requires the gfm option to be true.

License

The MIT License (MIT)

Copyright (c) 2013-2016 Simeon Velichkov [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.