{"repo":"mitya57/python-markdown-math","free":true,"listed":false,"github":"https://github.com/mitya57/python-markdown-math","clone":"git clone https://github.com/mitya57/python-markdown-math.git","description":"Math extension for Python-Markdown","language":"Python","stars":127,"topics":["markdown","python-markdown","math","mathjax"],"license":"BSD-3-Clause","category":"productivity","readme_excerpt":"[ ][Actions] [Actions]: https://github.com/mitya57/python-markdown-math/actions Math extension for Python-Markdown ================================== This extension adds math formulas support to [Python-Markdown]. [Python-Markdown]: https://github.com/Python-Markdown/markdown Installation ------------ Install from PyPI Install locally Use pip install . to install this extension from a local Git checkout. The extension name is mdx math , so you need to add that name to your list of Python-Markdown extensions. Check [Python-Markdown documentation] for details on how to load extensions. [Python-Markdown documentation]: https://python-markdown.github.io/reference/#extensions Usage ----- To use this extension, you need to include [MathJax] library in HTML files, like: [MathJax]: https://www.mathjax.org/ Also, you need to specify a configuration for MathJax. Please note that most of standard configurations include tex2jax extension, which is not needed with this code. Example of configuration for MathJax 2.x: If you want to use MathJax 3.x, you need to teach it to understand 2.x-style tags. See the [upgrading documentation] on how to do it. Alternatively, you may use the [Arithmatex] extension which has a generic output mode, that does not require such special configuration. To pass the extension to Python-Markdown, use mdx math as extension name. For example: Usage from the command line: [upgrading documentation]: https://docs.mathjax.org/en/latest/upgrading/v2.html#math-script-ex","default_branch":null,"files":null,"tree":[],"storefront":"/r/mitya57","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mitya57/python-markdown-math/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}