GithubHelp home page GithubHelp logo

isabella232 / github-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from showdownjs/github-extension

0.0 0.0 0.0 19 KB

Github MD flavor extension for Showdown

License: BSD 2-Clause "Simplified" License

JavaScript 99.35% HTML 0.65%

github-extension's Introduction

Showdown's Github Extension

Build Status npm version npm version


IMPORTANT NOTICE

THIS EXTENSION IS DEPRECATED

As of showdown v 1.2.0, github support was moved into core as an opt-in feature making this extension obsolete. As such, this extension will not receive further updates.


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.

github-extension's People

Contributors

tivie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.