Markdown Viewer / Browser Extension

simov 37ca1f16ab Update options page 9 years ago
background 46bc07ab09 Add advanced options 9 years ago
content 37ca1f16ab Update options page 9 years ago
css 37ca1f16ab Update options page 9 years ago
images 570b9a2b4e Remove dirty-shade image 10 years ago
themes 8b24fd49f7 Update github themes 9 years ago
vendor cc59ca8131 Update mithril 9 years ago
.editorconfig 552033301b Update project structure 9 years ago
LICENSE 94ae5d5bb5 Update license 10 years ago
README.md b209cf3e8d Update docs 9 years ago
manifest.json 46bc07ab09 Add advanced options 9 years ago
syntax.md f5ed8bf89d Update syntax 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
  • Themes from jasonm23, mixu and cobalt
  • Syntax highlighted code blocks using prism
  • Settings synchronization through google sync
  • Supports raw and rendered markdown views
  • Supported file extensions markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text
  • Built as event page - the extension is loaded only when 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.

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

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

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.