Markdown Viewer / Browser Extension

simov 0aefcd0b5a Remove jquery 9 years ago
background 60f7638899 Change directory structure 9 years ago
content 60f7638899 Change directory structure 9 years ago
css 552033301b Update project structure 9 years ago
images 570b9a2b4e Remove dirty-shade image 10 years ago
themes 69926dfc5e Update github theme 10 years ago
vendor 0aefcd0b5a Remove jquery 9 years ago
.editorconfig 552033301b Update project structure 9 years ago
LICENSE 94ae5d5bb5 Update license 10 years ago
README.md a03b2cdb61 Update docs 9 years ago
manifest.json 60f7638899 Change directory structure 9 years ago
syntax.md 552033301b Update project structure 9 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

Compiler Options

Option Default Description
gfm true Enable GFM GitHub Flavored Markdown.
tables true Enable GFM tables. This option requires the gfm option to be true.
breaks false Enable GFM line breaks. This option requires the gfm option to be true.
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 false Sanitize the output. Ignore any HTML that has been input.
smartLists false 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.

Markdown Syntax

  • Navigate to this URL and play around with the Compiler Options
  • Use the Markdown/HTML button to switch between raw markdown and rendered HTML
  • At any point click on the Defaults button to reset back the compiler's options

Local Files

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

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.