markdown-it-strikethrough-alt

1.0.0 • Public • Published

markdown-it-strikethrough-alt

Build Status NPM version Coverage Status

Alternative syntax strikethrough (<s>) tag plugin for markdown-it markdown parser.

v1.+ requires markdown-it v4.+, see changelog.

--Strikeout-- => <s>Strikeout</s>

Install

node.js, browser:

npm install markdown-it-strikethrough-alt --save
bower install markdown-it-strikethrough-alt --save

Use

var md = require('markdown-it')()
            .use(require('markdown-it-strikethrough-alt'));
 
md.render('--Strikeout--') // => '<s>Strikeout</s>'

Differences in browser. If you load script directly into the page, without package system, module will add itself globally as window.markdownitStrikethroughAlt.

License

MIT

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i markdown-it-strikethrough-alt

    Weekly Downloads

    420

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jay-hodgson
    • xschildwachter
    • agendel
    • nickgros
    • roccbot