This is a plugin for the Python implementation of Markdown-IT (a CommonMark parser) that provides insert (<ins>) via double pluses (++).
Example usage:
>>> from markdown_it import MarkdownIt
>>> from minchin.md_it.insert import insert_plugin
>>> md = MarkdownIt().use(insert_plugin)
>>> md.render("I ++added++ this")
'<p>I <ins>added</ins> this</p>\\n'
>>> md.render("this++text\\\\ has\\\\ spaces++")
'<p>this<ins>text\\ has\\ spaces</ins></p>\\n'
Tests can be run using pytest.
This is ported from hasgeek’s Funnel, under the AGPL-3.0 license.
Metadata
Release files for minchin.md-it.insert 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minchin_md_it_insert-1.0.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minchin_md_it_insert-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / minchin_md_it_insert-1.0.0.tar.gz
| Download URL | minchin_md_it_insert-1.0.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23999e35150397faddbb2022492f4fbcdf792c7076a16a141b7c3d23ce7e230c
|
|
BLAKE2b-256 checksum How to use checksums |
3e8d5b1b89124dbd0d7958c9340787cdbfff3b0f5b91220cab27912f20332e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / minchin_md_it_insert-1.0.0-py3-none-any.whl
| Download URL | minchin_md_it_insert-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b40879128ee1dde192d9d36dc08a4790dd38352234982251cbe89b3ebf0ea1a
|
|
BLAKE2b-256 checksum How to use checksums |
ee87220fc2c9a3b4f403c8b38cf20a380db0f727d04e70e8f73e22493142b0f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|