A markdown extension that enables you to create <mark> tag by using ???some text???
Project description
markdown.highlight
==================
Adds the possibility to use "??? something ???" or "___ something ___" to create a span that looks like <mark>something</mark>
Install through pip:
$ pip install MarkdownHighlight
To enable the MarkdownHighlight package and use it in your markdown generation just add it like so:
```
import markdown
from MarkdownHighlight.highlight import HighlightExtension
result = markdown.markdown(textToRender, output_format="html5", extensions=[HighlightExtension,]) )
```
==================
Adds the possibility to use "??? something ???" or "___ something ___" to create a span that looks like <mark>something</mark>
Install through pip:
$ pip install MarkdownHighlight
To enable the MarkdownHighlight package and use it in your markdown generation just add it like so:
```
import markdown
from MarkdownHighlight.highlight import HighlightExtension
result = markdown.markdown(textToRender, output_format="html5", extensions=[HighlightExtension,]) )
```
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
File details
Details for the file MarkdownHighlight-0.1.3.tar.gz
.
File metadata
- Download URL: MarkdownHighlight-0.1.3.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c459c38e431f88ddbfabb433ede3f8cf5ddaffcf1285713f49a9ef195e36c7 | |
MD5 | 41184671fdb4629a73392b4ca55d25ea | |
BLAKE2b-256 | 4853c9a75bf8541034d6221cf7a5727faf12459f0e9db5be7da7d9ca7e216ac9 |