markdown-it-ins-del
<ins>
and<s>
tag plugin for markdown-it markdown parser with editor attributions.
v0.1.+ requires markdown-it
v4.+, see changelog.
++insert++[WZ]
=> <ins>insert</ins><sup>WZ</sup>
~~delete~~[WZ]
=> <s>delete</s><sup>WZ</sup>
Markup uses the same conditions as CommonMark emphasis.
Install
node.js, browser:
npm install markdown-it-ins-del --savebower install markdown-it-ins-del --save
Use
var md = ; md // => '<p><ins>insert</ins><sup>WZ</sup></p>'md // => '<p><s>delete</s><sup>WZ</sup></p>'
Disable the 'strikethrough' module in Markdown-it.
Differences in browser. If you load script directly into the page, without
package system, module will add itself globally as window.markdownitIns
.