{ "info": { "author": "Dmitry Shachnev", "author_email": "mitya57@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "[![Travis CI status](https://api.travis-ci.org/mitya57/python-markdown-math.svg)][Travis]\n\n[Travis]: https://travis-ci.org/mitya57/python-markdown-math\n\nMath extension for Python-Markdown\n==================================\n\nThis extension adds math formulas support to [Python-Markdown].\n\n[Python-Markdown]: https://github.com/Python-Markdown/markdown\n\nInstallation\n------------\n\n### Install from PyPI\n\n```\n$ pip install python-markdown-math\n```\n\n### Install locally\n\nUse `setup.py build` and `setup.py install` to build and install this\nextension, respectively.\n\nThe extension name is `mdx_math`, so you need to add that name to your\nlist of Python-Markdown extensions.\nCheck [Python-Markdown documentation] for details on how to load\nextensions.\n\n[Python-Markdown documentation]: https://python-markdown.github.io/reference/#extensions\n\nUsage\n-----\n\nTo use this extension, you need to include [MathJax] library in HTML files, like:\n\n```html\n\n```\n\n(replace `2.7.4` with the latest version if it is available).\n\n[MathJax]: https://www.mathjax.org/\n\nAlso, you need to specify a configuration for MathJax. Please note that\nmost of standard configuratons include `tex2jax` extension, which is not needed\nwith this code.\n\nExample of MathJax configuration:\n\n```html\n\n```\n\nTo pass the extension to Python-Markdown, use `mdx_math` as extension name.\nFor example:\n\n```python\n>>> md = markdown.Markdown(extensions=['mdx_math'])\n>>> md.convert('$$e^x$$')\n'

\\n\\n

'\n```\n\nUsage from the command line:\n\n```\n$ echo \"\\(e^x\\)\" | python3 -m markdown -x mdx_math\n

\n\n

\n```\n\nMath Delimiters\n---------------\n\nFor inline math, use `\\(...\\)`.\n\nFor standalone math, use `$$...$$`, `\\[...\\]` or `\\begin...\\end`.\n\nThe single-dollar delimiter (`$...$`) for inline math is disabled by\ndefault, but can be enabled by passing `enable_dollar_delimiter=True`\nin the extension configuration.\n\nIf you want to this extension to generate a preview node (which will be shown\nwhen MathJax has not yet processed the node, or when JavaScript is unavailable),\nuse `add_preview=True` configuration option.\n\nNotes\n-----\n\nIf you use [ReText](https://github.com/retext-project/retext), this extension\nis not needed as it is included by default.", "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/mitya57/python-markdown-math", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "python-markdown-math", "package_url": "https://pypi.org/project/python-markdown-math/", "platform": "", "project_url": "https://pypi.org/project/python-markdown-math/", "project_urls": { "Homepage": "https://github.com/mitya57/python-markdown-math" }, "release_url": "https://pypi.org/project/python-markdown-math/0.6/", "requires_dist": null, "requires_python": "", "summary": "Math extension for Python-Markdown", "version": "0.6" }, "last_serial": 3964666, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a0d8ff25e03611425ff188c4c469bc87", "sha256": "acd4add28962b3b775f8c9b5d457b3a05d4b1324913926c557a51d8b05993939" }, "downloads": -1, "filename": "python-markdown-math-0.1.tar.gz", "has_sig": true, "md5_digest": "a0d8ff25e03611425ff188c4c469bc87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2225, "upload_time": "2015-08-12T16:03:07", "url": "https://files.pythonhosted.org/packages/ef/84/736d0829569f01cfc921aca8520d6a27f74791f8e03eb6f306063c645566/python-markdown-math-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c16ffd9016a7d752f2c6b3a6907eddbf", "sha256": "261b02961e529aa1ce4dd505f90f369754bcd1938109b56a598f6c5ba301d7b7" }, "downloads": -1, "filename": "python-markdown-math-0.2.tar.gz", "has_sig": true, "md5_digest": "c16ffd9016a7d752f2c6b3a6907eddbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2361, "upload_time": "2015-12-05T17:32:08", "url": "https://files.pythonhosted.org/packages/23/c7/ecf27521be823266e31f160445019d5ea9aefc64d8621e59be10c62e0480/python-markdown-math-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "ae31b55dbfeec2e205e29132dc190ff1", "sha256": "c1b9cb018eb54e14609d1d1cc2ae49f6869b75a459d8a0ce759e6e6ee775d394" }, "downloads": -1, "filename": "python-markdown-math-0.3.tar.gz", "has_sig": true, "md5_digest": "ae31b55dbfeec2e205e29132dc190ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2956, "upload_time": "2017-03-24T19:30:50", "url": "https://files.pythonhosted.org/packages/7c/8b/9f40c484bcefe305db8533e6ea11d977132a80699fed17378fcd2b56e0cf/python-markdown-math-0.3.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7c5141b99e9b7329cd79e58e228be5e4", "sha256": "2c3225794b40375445d1949e427ee549edfcc0a534740b3245ff70f177c40f1e" }, "downloads": -1, "filename": "python_markdown_math-0.5-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "7c5141b99e9b7329cd79e58e228be5e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3819, "upload_time": "2018-05-03T13:43:25", "url": "https://files.pythonhosted.org/packages/67/40/dcee47c6be5218a4c740e7404089885d384c878987ec8d790ea291bf685d/python_markdown_math-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6fe5b8b90e44dc4522b14f933cafb089", "sha256": "8f8803c92ac0847d18bd82a51fdb6acec90b2b54a4990650e627a0d4d3a78445" }, "downloads": -1, "filename": "python-markdown-math-0.5.tar.gz", "has_sig": true, "md5_digest": "6fe5b8b90e44dc4522b14f933cafb089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3979, "upload_time": "2018-05-03T13:43:27", "url": "https://files.pythonhosted.org/packages/62/a0/721bb6542cf4b48d6016a79786fb6d68b7a1368ec89ee6e30377d578457d/python-markdown-math-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "e12900c5eb426bf8dabf939ed06b9a53", "sha256": "d443e264cf063623a5f02b0c9730867e5172b31d49967da424ed3457c25b2848" }, "downloads": -1, "filename": "python_markdown_math-0.6-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e12900c5eb426bf8dabf939ed06b9a53", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3819, "upload_time": "2018-06-15T12:53:21", "url": "https://files.pythonhosted.org/packages/7c/81/2c86570437821d77b90a6d939d54e11b507b71785850840a5e56d8febeca/python_markdown_math-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec55aba25c4e09eaeb07ded37336668a", "sha256": "c68d8cb9695cb7b435484403dc18941d1bad0ff148e4166d9417046a0d5d3022" }, "downloads": -1, "filename": "python-markdown-math-0.6.tar.gz", "has_sig": true, "md5_digest": "ec55aba25c4e09eaeb07ded37336668a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6406, "upload_time": "2018-06-15T12:52:47", "url": "https://files.pythonhosted.org/packages/78/e1/24021b30466ca2985352ec1f15b3cb38e0b62ba742c46820c33ddf7114a8/python-markdown-math-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e12900c5eb426bf8dabf939ed06b9a53", "sha256": "d443e264cf063623a5f02b0c9730867e5172b31d49967da424ed3457c25b2848" }, "downloads": -1, "filename": "python_markdown_math-0.6-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e12900c5eb426bf8dabf939ed06b9a53", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3819, "upload_time": "2018-06-15T12:53:21", "url": "https://files.pythonhosted.org/packages/7c/81/2c86570437821d77b90a6d939d54e11b507b71785850840a5e56d8febeca/python_markdown_math-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec55aba25c4e09eaeb07ded37336668a", "sha256": "c68d8cb9695cb7b435484403dc18941d1bad0ff148e4166d9417046a0d5d3022" }, "downloads": -1, "filename": "python-markdown-math-0.6.tar.gz", "has_sig": true, "md5_digest": "ec55aba25c4e09eaeb07ded37336668a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6406, "upload_time": "2018-06-15T12:52:47", "url": "https://files.pythonhosted.org/packages/78/e1/24021b30466ca2985352ec1f15b3cb38e0b62ba742c46820c33ddf7114a8/python-markdown-math-0.6.tar.gz" } ] }