Showdown's Github Extension
Github extension for showdown
Adds support for github flavored markdown.
Installation
npm
Withnpm install showdown-github
bower
Withbower install showdown-github
Manual
You can also download the latest release zip or tarball and include it in your webpage, after showdown:
<script src="showdown.min.js">
<script src="showdown-github.min.js">
Enabling the extension
After including the extension in your application, you just need to enable it in showdown.
var converter = new showdown.Converter({extensions: ['github']});
Example
var converter = extensions: 'github' input = 'This is a ~~deleted text~~' html = converter; console;
This should output:
This is a deleted text
License
These files are distributed under BSD license. For more information, please check the LICENSE file in the source code.