markdown-lineblocks


Namemarkdown-lineblocks JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryA Python-Markdown extension to render line blocks
upload_time2023-12-02 21:53:26
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Markdown line block extension

[![PyPI - Version](https://img.shields.io/pypi/v/markdown-lineblocks.svg)](https://pypi.org/project/markdown-lineblocks)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/markdown-lineblocks.svg)](https://pypi.org/project/markdown-lineblocks)

A [Python-Markdown](https://python-markdown.github.io/) extension to render line blocks.

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


-----

## Installation

```console
pip install markdown-lineblocks
```

## Usage

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

To use with [MkDocs](https://www.mkdocs.org/), add the following to `mkdocs.yml`:
```yaml
markdown_extensions:
  - lineblocks
```


## Licence

`markdown-lineblocks` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) licence.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "markdown-lineblocks",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Matthew Francis <mjay.francis@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b0/2f/cf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc/markdown_lineblocks-1.0.0.tar.gz",
    "platform": null,
    "description": "# Markdown line block extension\n\n[![PyPI - Version](https://img.shields.io/pypi/v/markdown-lineblocks.svg)](https://pypi.org/project/markdown-lineblocks)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/markdown-lineblocks.svg)](https://pypi.org/project/markdown-lineblocks)\n\nA [Python-Markdown](https://python-markdown.github.io/) extension to render line blocks.\n\nExample:\n```\n| Normally these lines would\n| Run together. But here\n| They are separate\n```\n\n\n-----\n\n## Installation\n\n```console\npip install markdown-lineblocks\n```\n\n## Usage\n\n```py\nimport markdown\ntext = ...  # your Markdown source\nhtml = markdown.markdown(text, extensions='lineblocks')\n```\n\nTo use with [MkDocs](https://www.mkdocs.org/), add the following to `mkdocs.yml`:\n```yaml\nmarkdown_extensions:\n  - lineblocks\n```\n\n\n## Licence\n\n`markdown-lineblocks` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) licence.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python-Markdown extension to render line blocks",
    "version": "1.0.0",
    "project_urls": {
        "Documentation": "https://github.com/mjayfrancis/markdown-lineblocks#readme",
        "Issues": "https://github.com/mjayfrancis/markdown-lineblocks/issues",
        "Source": "https://github.com/mjayfrancis/markdown-lineblocks"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "47bb827fe1c78a1a7b7312e5b124a7eb99ca933388fde68a3f8154faa50bc281",
                "md5": "71aaeab352247bf9354c5aa101e9bdaa",
                "sha256": "172964d18a8f8ab85b400fa251d376f6e4f5e003de2883ccb8d128f6acd12561"
            },
            "downloads": -1,
            "filename": "markdown_lineblocks-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71aaeab352247bf9354c5aa101e9bdaa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4164,
            "upload_time": "2023-12-02T21:53:24",
            "upload_time_iso_8601": "2023-12-02T21:53:24.289783Z",
            "url": "https://files.pythonhosted.org/packages/47/bb/827fe1c78a1a7b7312e5b124a7eb99ca933388fde68a3f8154faa50bc281/markdown_lineblocks-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b02fcf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc",
                "md5": "69f4391ca1d66cc379387359766e4d9e",
                "sha256": "f42aa78d061f6b219fb55992a696a5904fc8e1dce13b19c3e702b7ff929cf665"
            },
            "downloads": -1,
            "filename": "markdown_lineblocks-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "69f4391ca1d66cc379387359766e4d9e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3502,
            "upload_time": "2023-12-02T21:53:26",
            "upload_time_iso_8601": "2023-12-02T21:53:26.143008Z",
            "url": "https://files.pythonhosted.org/packages/b0/2f/cf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc/markdown_lineblocks-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-02 21:53:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mjayfrancis",
    "github_project": "markdown-lineblocks#readme",
    "github_not_found": true,
    "lcname": "markdown-lineblocks"
}
        
Elapsed time: 0.25937s