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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page