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 | RSS feed
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)
Built Distribution
Close
Hashes for markdown_del_ins-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc71237eaec2c5413d4ae330b1f691f38583b9f0ba35de7234bce86a7da955e7 |
|
MD5 | 6b4826b5593230cd787762b21253bacd |
|
BLAKE2b-256 | e8134c07e7839832e72a9e6592ca4d478ca54c8281bf7d0c7241e119f909914f |