{ "info": { "author": "Olivier Ruelle", "author_email": "olivier.ruelle@yahoo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup :: HTML" ], "description": "# md_mermaid\nmermaid extension for Python-Markdown to add support for mermaid graph inside markdown file\n\n## Installation\n\n* pip (only python version >=3.x) :\n\n~~~shell\npip install markdown\npip install md-mermaid\n~~~\n\n##\u00a0Usage\n\nIn your python script :\n\n~~~python\nimport markdown\n\ntext = \"\"\"\n# Title\n\nSome text.\n\n\u200b~~~mermaid\ngraph TB\nA --> B\nB --> C\n\u200b~~~\n\nSome other text.\n\n\u200b~~~mermaid\ngraph TB\nD --> E\nE --> F\n\u200b~~~\n\"\"\"\n\nhtml = markdown.markdown(text, extensions=['md_mermaid'])\n\nprint(html)\n~~~\n\nOutput will result in :\n\n~~~html\n

Title

\n

Some text.

\n
\ngraph TB\nA --> B\nB --> C\n
\n\n

Some other text.

\n
\ngraph TB\nD --> E\nE --> F\n
\n\n\n\n~~~\n\nThe `` line appears only once even if there are several graphs in the file.\n\n> Note that the extension name have a '_' not a '-'.\n\n> Attention : don't forget to include in your output html project the two following mermaid files :\n>\n> * mermaid.css (optional, can be customised)\n> * mermaid.min.js (can be download here [here](https://unpkg.com/mermaid@8.1.0/dist/)) \n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/oruelle/md_mermaid", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "md-mermaid", "package_url": "https://pypi.org/project/md-mermaid/", "platform": "", "project_url": "https://pypi.org/project/md-mermaid/", "project_urls": { "Homepage": "https://github.com/oruelle/md_mermaid" }, "release_url": "https://pypi.org/project/md-mermaid/0.1.0/", "requires_dist": [ "markdown (>=2.5)" ], "requires_python": "", "summary": "Python-Markdown extension to add support for mermaid graph inside markdown file.", "version": "0.1.0" }, "last_serial": 5456518, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c045032b02dc32c5599706202cefaec5", "sha256": "a82e52ede1c9f0add7ce476aeea1979a1c5517df97377fe858cd26c2d8645db1" }, "downloads": -1, "filename": "md_mermaid-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c045032b02dc32c5599706202cefaec5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15253, "upload_time": "2019-06-27T11:20:17", "url": "https://files.pythonhosted.org/packages/55/d6/95fc81efef27de84490a941788a3ff00b8e6a55284aa8ab0fc42623fb0b9/md_mermaid-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baa02e9bf55089d058b5522f17224586", "sha256": "f5b93601c122d265a86ff58e402ded4d7daf6ecbda1256d9f626fcd3e4b8021d" }, "downloads": -1, "filename": "md_mermaid-0.1.0.tar.gz", "has_sig": false, "md5_digest": "baa02e9bf55089d058b5522f17224586", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2736, "upload_time": "2019-06-27T11:20:19", "url": "https://files.pythonhosted.org/packages/9a/5b/5bbd6effab16a4565b11e35411504d21e6cc1bbb3935ee92e398cb6eba16/md_mermaid-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c045032b02dc32c5599706202cefaec5", "sha256": "a82e52ede1c9f0add7ce476aeea1979a1c5517df97377fe858cd26c2d8645db1" }, "downloads": -1, "filename": "md_mermaid-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c045032b02dc32c5599706202cefaec5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15253, "upload_time": "2019-06-27T11:20:17", "url": "https://files.pythonhosted.org/packages/55/d6/95fc81efef27de84490a941788a3ff00b8e6a55284aa8ab0fc42623fb0b9/md_mermaid-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baa02e9bf55089d058b5522f17224586", "sha256": "f5b93601c122d265a86ff58e402ded4d7daf6ecbda1256d9f626fcd3e4b8021d" }, "downloads": -1, "filename": "md_mermaid-0.1.0.tar.gz", "has_sig": false, "md5_digest": "baa02e9bf55089d058b5522f17224586", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2736, "upload_time": "2019-06-27T11:20:19", "url": "https://files.pythonhosted.org/packages/9a/5b/5bbd6effab16a4565b11e35411504d21e6cc1bbb3935ee92e398cb6eba16/md_mermaid-0.1.0.tar.gz" } ] }