Skip to main content

Markdown extension to support the <del> and <ins> tags

Project description

markdown_del_ins

Allows the Markdown package to interpret ~~text~~ as <del>text</del> and ++text++ as <ins>text</ins>.

Installation

$ pip install git+git://github.com/honzajavorek/markdown-del-ins.git

Usage

>>> 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>

License & Credits

This software is released under the modified BSD License. See LICENSE for details. The project is a fork of aleray/mdx_del_ins.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_del_ins-1.0.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

markdown_del_ins-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page