Extends the misaka Markdown parser and renderer for some nifty features.
Project description
nr.markdown
Extends the misaka Markdown library for a couple of extensions.
inside-html
: Support Markdown inside HTML tags. Requires thebs4
packagesmartypants
: Automatically applymisaka.smartypants()
on the input Markdown. Enabled by defaultpygments
: Highlight code blocks with Pygments. Requires thepygments
packageurl-transform
: Transform links and image URLs with a callback function. Enabled by default, but only actually does something if theurl_transform_callback
option is settoc
: Generates a table of contents while rendering, but does not actually render a TOC into the output. The generated TOC data structure can be accessed via theMarkdown.toc
attribute. Enabled by default
Copyright © 2020 Niklas Rosenstein
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
nr.markdown-1.0.7.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file nr.markdown-1.0.7.tar.gz
.
File metadata
- Download URL: nr.markdown-1.0.7.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f47fb1b52209a2d6b2f88bfdfdc519c20fa7b9e4602e4e2f12903e256bbc640 |
|
MD5 | 2a39c4eea692a053f5935dcb8f81c4e2 |
|
BLAKE2b-256 | b38792c9e5ce8ee26956406e0db994a076a6d2f03f35b1bf5e4ab13643250913 |
File details
Details for the file nr.markdown-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: nr.markdown-1.0.7-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91e1977a79a41a076787275b064cedf40299dcdc56e28befdd55b0c63ad2207b |
|
MD5 | 3aac598a5f7f80a998a331e10b72e156 |
|
BLAKE2b-256 | 2e5bfc8658dc6424923b6a9d14e3b667f0d636cd83ef95bf943bf90715ba83cc |