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


Release history Release notifications

This version

1.0.0

Download files

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

Files for markdown-del-ins, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size markdown_del_ins-1.0.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size markdown_del_ins-1.0.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page