mdx-breakless-lists


Namemdx-breakless-lists JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/adamb70/mdx-breakless-lists
SummaryPython Markdown package extension to allow lists without a preceding empty line.
upload_time2020-09-17 01:29:31
maintainer
docs_urlNone
authoradamb70
requires_python
licenseMIT
keywords markdown extension markdown lists
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            [![Build Status](https://travis-ci.com/adamb70/mdx-breakless-lists.svg?branch=master)](https://travis-ci.com/adamb70/mdx-breakless-lists)
# Breakless Lists Markdown Extension

Use lists without requiring a line break above them, as in [GitHub flavoured markdown](https://github.github.com/gfm/#example-283).


This markdown:
> ```
> This text comes before the list
> - list item 1
> - list item 2
> ``` 

renders as this HTML:
> ```
> <p>This text comes before the list</p>
> <ul>
> <li>list item 1</li>
> <li>list item 2</li>
> </ul>
> ```

## Installation

`pip install mdx-breakless-lists`

## Usage

```python
from markdown import markdown

html = markdown(text, extensions=['mdx_breakless_lists'])
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/adamb70/mdx-breakless-lists",
    "name": "mdx-breakless-lists",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "markdown extension,markdown,lists",
    "author": "adamb70",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/87/87/e8097f9a40ba0ccc38dc3e2914aac06ef74e8c5e4cefb8fd0d60457f63f2/mdx_breakless_lists-1.0.1.tar.gz",
    "platform": "",
    "description": "[![Build Status](https://travis-ci.com/adamb70/mdx-breakless-lists.svg?branch=master)](https://travis-ci.com/adamb70/mdx-breakless-lists)\n# Breakless Lists Markdown Extension\n\nUse lists without requiring a line break above them, as in [GitHub flavoured markdown](https://github.github.com/gfm/#example-283).\n\n\nThis markdown:\n> ```\n> This text comes before the list\n> - list item 1\n> - list item 2\n> ``` \n\nrenders as this HTML:\n> ```\n> <p>This text comes before the list</p>\n> <ul>\n> <li>list item 1</li>\n> <li>list item 2</li>\n> </ul>\n> ```\n\n## Installation\n\n`pip install mdx-breakless-lists`\n\n## Usage\n\n```python\nfrom markdown import markdown\n\nhtml = markdown(text, extensions=['mdx_breakless_lists'])\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Markdown package extension to allow lists without a preceding empty line.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/adamb70/mdx-breakless-lists"
    },
    "split_keywords": [
        "markdown extension",
        "markdown",
        "lists"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ced7b466203159c3eb4ddccb251826537065ae9344176e2049fb483a0eb41e68",
                "md5": "813597db97a18e6105a31be1a7dc81a3",
                "sha256": "d49209a42561142b1dacea6821a3899a8ccd17a45da5e7e04294aa23d98d76c8"
            },
            "downloads": -1,
            "filename": "mdx_breakless_lists-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "813597db97a18e6105a31be1a7dc81a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4469,
            "upload_time": "2020-09-17T01:30:38",
            "upload_time_iso_8601": "2020-09-17T01:30:38.662109Z",
            "url": "https://files.pythonhosted.org/packages/ce/d7/b466203159c3eb4ddccb251826537065ae9344176e2049fb483a0eb41e68/mdx_breakless_lists-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8787e8097f9a40ba0ccc38dc3e2914aac06ef74e8c5e4cefb8fd0d60457f63f2",
                "md5": "5be296ff3a0e1b220a7dca2949f4b9a1",
                "sha256": "2ec7978048673ad7cb8042b5787420a9d252053908dcb3418708cf2f91a6a538"
            },
            "downloads": -1,
            "filename": "mdx_breakless_lists-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5be296ff3a0e1b220a7dca2949f4b9a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2900,
            "upload_time": "2020-09-17T01:29:31",
            "upload_time_iso_8601": "2020-09-17T01:29:31.075291Z",
            "url": "https://files.pythonhosted.org/packages/87/87/e8097f9a40ba0ccc38dc3e2914aac06ef74e8c5e4cefb8fd0d60457f63f2/mdx_breakless_lists-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-09-17 01:29:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adamb70",
    "github_project": "mdx-breakless-lists",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mdx-breakless-lists"
}
        
Elapsed time: 1.18796s