Skip to main content

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. Enabled by default
  • smartypants: Automatically apply misaka.smartypants() on the input Markdown. Enabled by default
  • pygments: Highlight code blocks with Pygments.
  • url-transform: Transform links and image URLs with a callback function. Enabled by default, but only actually does something if the url_transform_callback option is set
  • toc: 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 the Markdown.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.4.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file nr.markdown-1.0.4.tar.gz.

File metadata

  • Download URL: nr.markdown-1.0.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for nr.markdown-1.0.4.tar.gz
Algorithm Hash digest
SHA256 e0fb765e799c477fdff9c135bc0bedb9a15b305b64d8e66bb96ac2b119a9c304
MD5 e2823a547b794727a26ef805c2884666
BLAKE2b-256 91915b6c52384e9dbfddb4171598cd9c87c2f10f4fd7c52e4d8804c6404b5cc6

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