Allows the Markdown package to interpret ~~text~~
as <del>text</del>
and ++text++
as <ins>text</ins>
.
$ pip install markdown-del-ins
>>> from markdown import Markdown
>>> md = Markdown(extensions=['markdown_del_ins'])
>>> src = 'This is ++added content++ and this is ~~deleted **strong** content~~'
>>> html = md.convert(src)
>>> print(html)
<p>This is <ins>added content</ins> and this is <del>deleted <strong>strong</strong> content</del></p>
This software is released under the modified BSD License. See LICENSE for details. The project is a fork of aleray/mdx_del_ins.