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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for markdown_del_ins-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bcce060d367ac867341e9652d210a500508a352aab55c56414e385e65f972913
MD5 83e885b811d63926d67d64f776c3b0f5
BLAKE2b-256 cb22f980d5371eba529f3f6e58ce0850fa856189c7156b761f0b2fdfe0113e48

See more details on using hashes here.

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

Hashes for markdown_del_ins-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc71237eaec2c5413d4ae330b1f691f38583b9f0ba35de7234bce86a7da955e7
MD5 6b4826b5593230cd787762b21253bacd
BLAKE2b-256 e8134c07e7839832e72a9e6592ca4d478ca54c8281bf7d0c7241e119f909914f

See more details on using hashes here.

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