markdown-it-strikethrough-alt
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 --savebower install markdown-it-strikethrough-alt --save
Use
var md = ; md // => '<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
.