Neatly Positioned Magazines
Miss any of our Open RFC calls?Watch the recordings here! »

showdown-github

1.0.0 • Public • Published

Showdown's Github Extension

Build Status npm version npm version


Github extension for showdown

Adds support for github flavored markdown.

Installation

With npm

npm install showdown-github

With bower

bower 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 = new showdown.Converter({extensions: ['github']}),
    input = 'This is a ~~deleted text~~',
    html = converter.makeHtml(input);
    console.log(html);

This should output:

<p>This is a <del>deleted text</del></p>

License

These files are distributed under BSD license. For more information, please check the LICENSE file in the source code.

Install

npm i showdown-github

DownloadsWeekly Downloads

14

Version

1.0.0

License

BSD-2-Clause

Last publish

Collaborators

  • avatar