Skip to main content

A Python-Markdown extension to render line blocks

Project description

Markdown line block extension

PyPI - Version PyPI - Python Version

A Python-Markdown extension to render line blocks.

Example:

| Normally these lines would
| Run together. But here
| They are separate

Installation

pip install markdown-lineblocks

Usage

import markdown
text = ...  # your Markdown source
html = markdown.markdown(text, extensions='lineblocks')

To use with MkDocs, add the following to mkdocs.yml:

markdown_extensions:
  - lineblocks

Licence

markdown-lineblocks is distributed under the terms of the MIT licence.

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_lineblocks-1.0.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

markdown_lineblocks-1.0.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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