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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file markdown_lineblocks-1.0.0.tar.gz.

File metadata

  • Download URL: markdown_lineblocks-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for markdown_lineblocks-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f42aa78d061f6b219fb55992a696a5904fc8e1dce13b19c3e702b7ff929cf665
MD5 69f4391ca1d66cc379387359766e4d9e
BLAKE2b-256 b02fcf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc

See more details on using hashes here.

File details

Details for the file markdown_lineblocks-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_lineblocks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 172964d18a8f8ab85b400fa251d376f6e4f5e003de2883ccb8d128f6acd12561
MD5 71aaeab352247bf9354c5aa101e9bdaa
BLAKE2b-256 47bb827fe1c78a1a7b7312e5b124a7eb99ca933388fde68a3f8154faa50bc281

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page