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
Built Distribution
File details
Details for the file markdown_del_ins-1.0.0.tar.gz
.
File metadata
- Download URL: markdown_del_ins-1.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcce060d367ac867341e9652d210a500508a352aab55c56414e385e65f972913 |
|
MD5 | 83e885b811d63926d67d64f776c3b0f5 |
|
BLAKE2b-256 | cb22f980d5371eba529f3f6e58ce0850fa856189c7156b761f0b2fdfe0113e48 |
Provenance
File details
Details for the file markdown_del_ins-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: markdown_del_ins-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc71237eaec2c5413d4ae330b1f691f38583b9f0ba35de7234bce86a7da955e7 |
|
MD5 | 6b4826b5593230cd787762b21253bacd |
|
BLAKE2b-256 | e8134c07e7839832e72a9e6592ca4d478ca54c8281bf7d0c7241e119f909914f |