# [markdown-katex][repo_ref]
This is an extension for [Python Markdown](https://python-markdown.github.io/)
which adds [KaTeX](https://katex.org/) support.
```math
f(x) = \int_{-\infty}^\infty
\hat f(\xi)\,e^{2 \pi i \xi x}
\,d\xi
```
<div align="center">
<p align="center">
<img src="https://raw.githubusercontent.com/mbarkhau/markdown-katex/master/markdown-katex-example.png" height=128>
</p>
</div>
Project/Repo:
[![MIT License][license_img]][license_ref]
[![Supported Python Versions][pyversions_img]][pyversions_ref]
[![CalVer v202406.1035][version_img]][version_ref]
[![PyPI Version][pypi_img]][pypi_ref]
[![PyPI Downloads][downloads_img]][downloads_ref]
Code Quality/CI:
[![GitHub CI Status][github_build_img]][github_build_ref]
[![GitLab CI Status][gitlab_build_img]][gitlab_build_ref]
[![Type Checked with mypy][mypy_img]][mypy_ref]
[![Code Coverage][codecov_img]][codecov_ref]
[![Code Style: sjfmt][style_img]][style_ref]
| Name | role | since | until |
|-------------------------------------|-------------------|---------|-------|
| Manuel Barkhau (mbarkhau@gmail.com) | author/maintainer | 2019-05 | - |
## Install
```bash
$ pip install markdown-katex
...
$ python -m markdown_katex --version
markdown-katex version: v202406.1035 (using binary: /usr/local/bin/npx --no-install katex)
0.15.1
```
This package includes the following binaries:
- `katex_v0.15.1_node10_x86_64_Linux`
_ `katex_v0.15.1_node10_x86_64_Darwin`
_ `katex_v0.15.1_node12_x86_64_Windows`
If you are on a different platform, or want to use a more recent version of `katex-cli`, you will need to [install it via npm][href_katexinstall_cli].
```bash
$ npx katex
$ npx katex --version
0.15.1
```
This extension will always use the locally installed version of KaTeX if it is available, instead of using the implementation bundled with this package.
No JavaScript is required to render the resulting HTML, so it can be used with more limited renderers (which don't support JavaScript) such as [WeasyPrint](https://weasyprint.org/) .
## Usage
Formulas can be created and edited interactively using the editor on [katex.org](https://katex.org/). They also have some [good documentation][href_katex_docs] for the subset of LaTeX that is supported. When embedding these in your Markdown files, they must be marked with a special syntax in order to be rendered using KaTeX. There are [many syntax extensions][href_cben_mathdown] for Markdown that allow LaTeX formulas to be embedded, however this package only supports the syntax introduced by Gitlab:
- For inline mode formulas: $`...`$
- For display mode formulas: ```math
Here is [an example](https://gitlab.com/snippets/1857641) that uses this syntax.
There are two main advantages of this syntax:
1. Gitlab has an existing Markdown renderer that can be used without the need to download any software. This implementation also uses KaTeX, so the output should be exactly the same as this extension.
2. The fallback behaviour of other Markdown renderers is to render the raw LaTeX as inline code or a code block. This means that they won't inadvertently parse a LaTeX formula as Markdown syntax.
Hopefully other renderers will also adopt support for this syntax as:
1. Rendering is done in the browser using KaTeX so implementation effort and should be minimal.
2. The false positive rate for existing Markdown documents is negligible (i.e. existing alternate use of $` syntax is minimal to non-existent).
## Options
- `no_inline_svg`: Replace inline `<svg>` with `<img data:image/svg+xml;base64..">` tags.
- `insert_fonts_css`: Insert font loading stylesheet (default: True).
## Development/Testing
```bash
$ git clone https://gitlab.com/mbarkhau/markdown-katex
$ cd markdown-katex
$ make conda
$ make lint mypy test
```
## MkDocs Integration
In your `mkdocs.yml` add this to markdown_extensions.
```yaml
# mkdocs.yml
markdown_extensions:
- markdown_katex:
no_inline_svg: True
insert_fonts_css: True
macro-file: macros.tex
```
The `macro-file` might looks something like this:
```tex
% macros.tex
\mymacro:\text{prefix #1 suffix}
```
## WeasyPrint Integration
When you generate html that is to be consumed by [WeasyPrint](https://weasyprint.org/), you need to use the `no_inline_svg=True` option. This is due to a [long standing limitation](https://github.com/Kozea/WeasyPrint/issues/75) of WeasyPrint. Without this option, some KaTeX formulas will not render properly, e.g. `\sqrt`
```python
md_ctx = markdown.Markdown(
extensions=[
'markdown.extensions.toc',
'markdown.extensions.extra',
'markdown.extensions.abbr',
...
'markdown_katex',
],
extension_configs={
'markdown_katex': {
'no_inline_svg': True, # fix for WeasyPrint
'insert_fonts_css': True,
},
}
)
raw_html_text = md_ctx.convert(md_text)
```
You can also use markdown-katex for the conversion of individual formulas from tex to html:
```python
from markdown_katex.extension import tex2html
tex_text = r"""
\frac{1}{\left(\sqrt{\phi\sqrt{5}}-\phi\right)e^{\frac{2}{5}\pi}}=
1+\frac{e^{-2\pi}} {
1+\frac{e^{-4\pi}} {
1+\frac{e^{-6\pi}} {
1+\frac{e^{-8\pi}} {
1+\cdots
}
}
}
}
"""
options = {'no_inline_svg': True, 'insert_fonts_css': False}
html = tex2html(tex_text, options)
```
[href_cben_mathdown]: https://github.com/cben/mathdown/wiki/math-in-markdown
[repo_ref]: https://github.com/mbarkhau/markdown-katex
[github_build_img]: https://github.com/mbarkhau/markdown-katex/workflows/CI/badge.svg
[github_build_ref]: https://github.com/mbarkhau/markdown-katex/actions?query=workflow%3ACI
[gitlab_build_img]: https://gitlab.com/mbarkhau/markdown-katex/badges/master/pipeline.svg
[gitlab_build_ref]: https://gitlab.com/mbarkhau/markdown-katex/pipelines
[codecov_img]: https://gitlab.com/mbarkhau/markdown-katex/badges/master/coverage.svg
[codecov_ref]: https://mbarkhau.gitlab.io/markdown-katex/cov
[license_img]: https://img.shields.io/badge/License-MIT-blue.svg
[license_ref]: https://gitlab.com/mbarkhau/markdown-katex/blob/master/LICENSE
[mypy_img]: https://img.shields.io/badge/mypy-checked-green.svg
[mypy_ref]: https://mbarkhau.gitlab.io/markdown-katex/mypycov
[style_img]: https://img.shields.io/badge/code%20style-%20sjfmt-f71.svg
[style_ref]: https://gitlab.com/mbarkhau/straitjacket/
[pypi_img]: https://img.shields.io/badge/PyPI-wheels-green.svg
[pypi_ref]: https://pypi.org/project/markdown-katex/#files
[downloads_img]: https://pepy.tech/badge/markdown-katex/month
[downloads_ref]: https://pepy.tech/project/markdown-katex
[version_img]: https://img.shields.io/static/v1.svg?label=CalVer&message=v202406.1035&color=blue
[version_ref]: https://pypi.org/project/bumpver/
[pyversions_img]: https://img.shields.io/pypi/pyversions/markdown-katex.svg
[pyversions_ref]: https://pypi.python.org/pypi/markdown-katex
[href_katexinstall_cli]: https://katex.org/docs/cli.html
[href_katex_docs]: https://katex.org/docs/supported.html
# Changelog for https://gitlab.com/mbarkhau/markdown-katex
## Contributors
Thank you to for testing, reporting issues and contributing patches:
- @summersz - Richard Summers
- @bluhme3 - Evan Bluhm
- @pawamoy - Timothée Mazzucotelli
- @briankchan
- @spoorendonk
- @lisongmin
- @alexatadi
- @sacredfox - Akihiro Nomura
- @jnsdrtlf
- @dodoni - Markus Wendt
- @tovrstra - Toon Verstraelen
## v202406.1035
- Fix [#17][gh_17] rare concurrency issue.
[gh_17]: https://github.com/mbarkhau/markdown-katex/pull/17
## v202112.1034
- Update KaTeX binaries to v0.15.1
- Fix [#13][gh_13]: Don't strip `<p></p>` when using inline syntax for a single equation.
[gh_13]: https://github.com/mbarkhau/markdown-katex/issue/13
## v202106.1033
- Update KaTeX binaries to v0.13.18
## v202106.1032
- Fix [#8][gh_8]: Math inside admonition
- Update KaTeX binaries to v0.13.11
[gh_8]: https://github.com/mbarkhau/markdown-katex/issue/8
## v202105.1031
- Update KaTeX binaries to v0.13.6
## v202104.1030
- Update KaTeX binaries to v0.13.3
- Fix [#4][gh_4]: Close file descriptors of Popen
- Add support for blocks with extra backticks
[gh_4]: https://github.com/mbarkhau/markdown-katex/pull/4
## v202103.1029
- Fix [#14](https://gitlab.com/mbarkhau/markdown-katex/-/issues/14): Since `Markdown>=3.3` support for [Markdown in HTML][md_in_html] was broken.
[md_in_html]: https://python-markdown.github.io/extensions/md_in_html/
Thank you @summersz for reporting this issue.
## v202103.1028
- Use node12 for KaTeX binary on Windows
## v202103.1027
- Update KaTeX binaries to v0.13.0
## v202008.1026
- Fix [#12](https://gitlab.com/mbarkhau/markdown-katex/-/issues/12): Bug in handling of paths with whitespace. (Thanks @summersz !)
## v202008.1025
- Fix [#9](https://gitlab.com/mbarkhau/markdown-katex/-/issues/9): Update `katex.css`
- Fix [#8](https://gitlab.com/mbarkhau/markdown-katex/-/issues/8): Lookup of binaries on windows
- Update documentation wrt. use with WeasyPrint
## v202008.1024
- Update KaTeX binaries to v0.12.0
- Fix [#8](https://gitlab.com/mbarkhau/markdown-katex/-/issues/8): Update binaries...
- Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7): Lookup of binaries via npx
## v202006.1021
- Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7): File encoding issue on Windows.
## v202006.1020
- Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7) katex-cli on Windows (now uses pkg --target node12...)
- Fix search for local `katex.ps1`, `katex.cmd`, `katex.exe` on Windows.
## v202005.0017
- Allow use of `macro-file` option.
- Update katex-cli to [version v0.11.1](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md)
## v202005.0016-beta
- Fix #6: [Regression in code block parsing](https://gitlab.com/mbarkhau/markdown-katex/-/issues/6), introduced in `v202004.0015-beta`
## v202004.0015-beta
- Fix #3: [Inline math inside block](https://gitlab.com/mbarkhau/markdown-katex/-/issues/3)
## v202004.0014-beta
- Fix #4: [Link tag not properly closed](https://gitlab.com/mbarkhau/markdown-katex/-/issues/4)
## v202001.0013-beta
- Fix: Ignore trailing whitespace after closing fence.
## v202001.0012-beta
- Fix: Remove extraneous whitespace to work better with whitespace: pre.
## v201912.0011-beta
- Add option `insert_fonts_css`
- Document options
## v201910.0010-beta
- Add more prominent example to README.md
- Fix #2: Fix spurious log message when using MkDocs
## v201908.0009-beta
- Fix #1: Wrong formulas are rendered when multiple formulas are in one doc.
## v201907.0008-beta
- Fix: don't require typing package for py<35
## v201905.0007-beta
- Fix: Parsing of inline code when using multiple backticks
## v201905.0004-beta
- Fix: better error reporting
- Fix: cleanup temp dir
## v201905.0002-alpha
- Initial release
Raw data
{
"_id": null,
"home_page": "https://github.com/mbarkhau/markdown-katex",
"name": "markdown-katex",
"maintainer": null,
"docs_url": null,
"requires_python": ">=2.7",
"maintainer_email": null,
"keywords": "markdown katex extension",
"author": "Manuel Barkhau",
"author_email": "mbarkhau@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/07/d1/fb725e498ae1119ce21d3f7b721a16e42fd43ee0433d1be092c279006b10/markdown-katex-202406.1035.tar.gz",
"platform": null,
"description": "\n# [markdown-katex][repo_ref]\n\nThis is an extension for [Python Markdown](https://python-markdown.github.io/)\nwhich adds [KaTeX](https://katex.org/) support.\n\n ```math\n f(x) = \\int_{-\\infty}^\\infty\n \\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\n \\,d\\xi\n ```\n\n<div align=\"center\">\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/mbarkhau/markdown-katex/master/markdown-katex-example.png\" height=128>\n</p>\n</div>\n\nProject/Repo:\n\n[![MIT License][license_img]][license_ref]\n[![Supported Python Versions][pyversions_img]][pyversions_ref]\n[![CalVer v202406.1035][version_img]][version_ref]\n[![PyPI Version][pypi_img]][pypi_ref]\n[![PyPI Downloads][downloads_img]][downloads_ref]\n\nCode Quality/CI:\n\n[![GitHub CI Status][github_build_img]][github_build_ref]\n[![GitLab CI Status][gitlab_build_img]][gitlab_build_ref]\n[![Type Checked with mypy][mypy_img]][mypy_ref]\n[![Code Coverage][codecov_img]][codecov_ref]\n[![Code Style: sjfmt][style_img]][style_ref]\n\n\n| Name | role | since | until |\n|-------------------------------------|-------------------|---------|-------|\n| Manuel Barkhau (mbarkhau@gmail.com) | author/maintainer | 2019-05 | - |\n\n\n## Install\n\n```bash\n$ pip install markdown-katex\n...\n$ python -m markdown_katex --version\nmarkdown-katex version: v202406.1035 (using binary: /usr/local/bin/npx --no-install katex)\n0.15.1\n```\n\nThis package includes the following binaries:\n\n - `katex_v0.15.1_node10_x86_64_Linux`\n _ `katex_v0.15.1_node10_x86_64_Darwin`\n _ `katex_v0.15.1_node12_x86_64_Windows`\n\nIf you are on a different platform, or want to use a more recent version of `katex-cli`, you will need to [install it via npm][href_katexinstall_cli].\n\n```bash\n$ npx katex\n$ npx katex --version\n0.15.1\n```\n\nThis extension will always use the locally installed version of KaTeX if it is available, instead of using the implementation bundled with this package.\n\nNo JavaScript is required to render the resulting HTML, so it can be used with more limited renderers (which don't support JavaScript) such as [WeasyPrint](https://weasyprint.org/) .\n\n\n## Usage\n\nFormulas can be created and edited interactively using the editor on [katex.org](https://katex.org/). They also have some [good documentation][href_katex_docs] for the subset of LaTeX that is supported. When embedding these in your Markdown files, they must be marked with a special syntax in order to be rendered using KaTeX. There are [many syntax extensions][href_cben_mathdown] for Markdown that allow LaTeX formulas to be embedded, however this package only supports the syntax introduced by Gitlab:\n\n - For inline mode formulas: $`...`$\n - For display mode formulas: ```math\n\nHere is [an example](https://gitlab.com/snippets/1857641) that uses this syntax.\n\nThere are two main advantages of this syntax:\n\n 1. Gitlab has an existing Markdown renderer that can be used without the need to download any software. This implementation also uses KaTeX, so the output should be exactly the same as this extension.\n 2. The fallback behaviour of other Markdown renderers is to render the raw LaTeX as inline code or a code block. This means that they won't inadvertently parse a LaTeX formula as Markdown syntax.\n\nHopefully other renderers will also adopt support for this syntax as:\n\n 1. Rendering is done in the browser using KaTeX so implementation effort and should be minimal.\n 2. The false positive rate for existing Markdown documents is negligible (i.e. existing alternate use of $` syntax is minimal to non-existent).\n\n\n## Options\n\n - `no_inline_svg`: Replace inline `<svg>` with `<img data:image/svg+xml;base64..\">` tags.\n - `insert_fonts_css`: Insert font loading stylesheet (default: True).\n\n\n## Development/Testing\n\n```bash\n$ git clone https://gitlab.com/mbarkhau/markdown-katex\n$ cd markdown-katex\n$ make conda\n$ make lint mypy test\n```\n\n\n## MkDocs Integration\n\nIn your `mkdocs.yml` add this to markdown_extensions.\n\n```yaml\n# mkdocs.yml\nmarkdown_extensions:\n - markdown_katex:\n no_inline_svg: True\n insert_fonts_css: True\n macro-file: macros.tex\n```\n\nThe `macro-file` might looks something like this:\n\n```tex\n% macros.tex\n\\mymacro:\\text{prefix #1 suffix}\n```\n\n## WeasyPrint Integration\n\nWhen you generate html that is to be consumed by [WeasyPrint](https://weasyprint.org/), you need to use the `no_inline_svg=True` option. This is due to a [long standing limitation](https://github.com/Kozea/WeasyPrint/issues/75) of WeasyPrint. Without this option, some KaTeX formulas will not render properly, e.g. `\\sqrt`\n\n```python\nmd_ctx = markdown.Markdown(\n extensions=[\n 'markdown.extensions.toc',\n 'markdown.extensions.extra',\n 'markdown.extensions.abbr',\n ...\n 'markdown_katex',\n ],\n extension_configs={\n 'markdown_katex': {\n 'no_inline_svg': True, # fix for WeasyPrint\n 'insert_fonts_css': True,\n },\n }\n)\nraw_html_text = md_ctx.convert(md_text)\n```\n\nYou can also use markdown-katex for the conversion of individual formulas from tex to html:\n\n```python\nfrom markdown_katex.extension import tex2html\n\ntex_text = r\"\"\"\n\\frac{1}{\\left(\\sqrt{\\phi\\sqrt{5}}-\\phi\\right)e^{\\frac{2}{5}\\pi}}=\n 1+\\frac{e^{-2\\pi}} {\n 1+\\frac{e^{-4\\pi}} {\n 1+\\frac{e^{-6\\pi}} {\n 1+\\frac{e^{-8\\pi}} {\n 1+\\cdots\n }\n }\n }\n}\n\"\"\"\noptions = {'no_inline_svg': True, 'insert_fonts_css': False}\nhtml = tex2html(tex_text, options)\n```\n\n\n[href_cben_mathdown]: https://github.com/cben/mathdown/wiki/math-in-markdown\n\n[repo_ref]: https://github.com/mbarkhau/markdown-katex\n\n[github_build_img]: https://github.com/mbarkhau/markdown-katex/workflows/CI/badge.svg\n[github_build_ref]: https://github.com/mbarkhau/markdown-katex/actions?query=workflow%3ACI\n\n[gitlab_build_img]: https://gitlab.com/mbarkhau/markdown-katex/badges/master/pipeline.svg\n[gitlab_build_ref]: https://gitlab.com/mbarkhau/markdown-katex/pipelines\n\n[codecov_img]: https://gitlab.com/mbarkhau/markdown-katex/badges/master/coverage.svg\n[codecov_ref]: https://mbarkhau.gitlab.io/markdown-katex/cov\n\n[license_img]: https://img.shields.io/badge/License-MIT-blue.svg\n[license_ref]: https://gitlab.com/mbarkhau/markdown-katex/blob/master/LICENSE\n\n[mypy_img]: https://img.shields.io/badge/mypy-checked-green.svg\n[mypy_ref]: https://mbarkhau.gitlab.io/markdown-katex/mypycov\n\n[style_img]: https://img.shields.io/badge/code%20style-%20sjfmt-f71.svg\n[style_ref]: https://gitlab.com/mbarkhau/straitjacket/\n\n[pypi_img]: https://img.shields.io/badge/PyPI-wheels-green.svg\n[pypi_ref]: https://pypi.org/project/markdown-katex/#files\n\n[downloads_img]: https://pepy.tech/badge/markdown-katex/month\n[downloads_ref]: https://pepy.tech/project/markdown-katex\n\n[version_img]: https://img.shields.io/static/v1.svg?label=CalVer&message=v202406.1035&color=blue\n[version_ref]: https://pypi.org/project/bumpver/\n\n[pyversions_img]: https://img.shields.io/pypi/pyversions/markdown-katex.svg\n[pyversions_ref]: https://pypi.python.org/pypi/markdown-katex\n\n[href_katexinstall_cli]: https://katex.org/docs/cli.html\n\n[href_katex_docs]: https://katex.org/docs/supported.html\n\n\n\n# Changelog for https://gitlab.com/mbarkhau/markdown-katex\n\n## Contributors\n\nThank you to for testing, reporting issues and contributing patches:\n\n- @summersz - Richard Summers\n- @bluhme3 - Evan Bluhm\n- @pawamoy - Timoth\u00e9e Mazzucotelli\n- @briankchan\n- @spoorendonk\n- @lisongmin\n- @alexatadi\n- @sacredfox - Akihiro Nomura\n- @jnsdrtlf\n- @dodoni - Markus Wendt\n- @tovrstra - Toon Verstraelen\n\n\n## v202406.1035\n\n - Fix [#17][gh_17] rare concurrency issue.\n\n[gh_17]: https://github.com/mbarkhau/markdown-katex/pull/17\n\n\n## v202112.1034\n\n - Update KaTeX binaries to v0.15.1\n - Fix [#13][gh_13]: Don't strip `<p></p>` when using inline syntax for a single equation.\n\n[gh_13]: https://github.com/mbarkhau/markdown-katex/issue/13\n\n\n## v202106.1033\n\n - Update KaTeX binaries to v0.13.18\n\n\n## v202106.1032\n\n - Fix [#8][gh_8]: Math inside admonition\n - Update KaTeX binaries to v0.13.11\n\n[gh_8]: https://github.com/mbarkhau/markdown-katex/issue/8\n\n\n## v202105.1031\n\n - Update KaTeX binaries to v0.13.6\n\n\n## v202104.1030\n\n - Update KaTeX binaries to v0.13.3\n - Fix [#4][gh_4]: Close file descriptors of Popen\n - Add support for blocks with extra backticks\n\n[gh_4]: https://github.com/mbarkhau/markdown-katex/pull/4\n\n\n## v202103.1029\n\n - Fix [#14](https://gitlab.com/mbarkhau/markdown-katex/-/issues/14): Since `Markdown>=3.3` support for [Markdown in HTML][md_in_html] was broken.\n\n[md_in_html]: https://python-markdown.github.io/extensions/md_in_html/\n\nThank you @summersz for reporting this issue.\n\n\n## v202103.1028\n\n - Use node12 for KaTeX binary on Windows\n\n\n## v202103.1027\n\n - Update KaTeX binaries to v0.13.0\n\n\n## v202008.1026\n\n - Fix [#12](https://gitlab.com/mbarkhau/markdown-katex/-/issues/12): Bug in handling of paths with whitespace. (Thanks @summersz !)\n\n\n## v202008.1025\n\n - Fix [#9](https://gitlab.com/mbarkhau/markdown-katex/-/issues/9): Update `katex.css`\n - Fix [#8](https://gitlab.com/mbarkhau/markdown-katex/-/issues/8): Lookup of binaries on windows\n - Update documentation wrt. use with WeasyPrint\n\n\n## v202008.1024\n\n - Update KaTeX binaries to v0.12.0\n - Fix [#8](https://gitlab.com/mbarkhau/markdown-katex/-/issues/8): Update binaries...\n - Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7): Lookup of binaries via npx\n\n\n## v202006.1021\n\n - Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7): File encoding issue on Windows.\n\n\n## v202006.1020\n\n - Fix [#7](https://gitlab.com/mbarkhau/markdown-katex/-/issues/7) katex-cli on Windows (now uses pkg --target node12...)\n - Fix search for local `katex.ps1`, `katex.cmd`, `katex.exe` on Windows.\n\n\n## v202005.0017\n\n - Allow use of `macro-file` option.\n - Update katex-cli to [version v0.11.1](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md)\n\n\n## v202005.0016-beta\n\n - Fix #6: [Regression in code block parsing](https://gitlab.com/mbarkhau/markdown-katex/-/issues/6), introduced in `v202004.0015-beta`\n\n\n## v202004.0015-beta\n\n - Fix #3: [Inline math inside block](https://gitlab.com/mbarkhau/markdown-katex/-/issues/3)\n\n\n## v202004.0014-beta\n\n - Fix #4: [Link tag not properly closed](https://gitlab.com/mbarkhau/markdown-katex/-/issues/4)\n\n\n## v202001.0013-beta\n\n - Fix: Ignore trailing whitespace after closing fence.\n\n\n## v202001.0012-beta\n\n - Fix: Remove extraneous whitespace to work better with whitespace: pre.\n\n\n## v201912.0011-beta\n\n - Add option `insert_fonts_css`\n - Document options\n\n\n## v201910.0010-beta\n\n - Add more prominent example to README.md\n - Fix #2: Fix spurious log message when using MkDocs\n\n\n## v201908.0009-beta\n\n - Fix #1: Wrong formulas are rendered when multiple formulas are in one doc.\n\n\n## v201907.0008-beta\n\n - Fix: don't require typing package for py<35\n\n\n## v201905.0007-beta\n\n - Fix: Parsing of inline code when using multiple backticks\n\n\n## v201905.0004-beta\n\n - Fix: better error reporting\n - Fix: cleanup temp dir\n\n\n## v201905.0002-alpha\n\n - Initial release\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "katex extension for Python Markdown",
"version": "202406.1035",
"project_urls": {
"Homepage": "https://github.com/mbarkhau/markdown-katex"
},
"split_keywords": [
"markdown",
"katex",
"extension"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f434780748d7d78fb4024dd1a290844374dd0d9830da35593c534638a4e9e54e",
"md5": "8a678faf5d9db25f429c86975bb2caf7",
"sha256": "c1713e85854ddecb641ad96243a8b6cd67367bf1bf8d39b43b3680d7f2b1884d"
},
"downloads": -1,
"filename": "markdown_katex-202406.1035-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a678faf5d9db25f429c86975bb2caf7",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7",
"size": 39766871,
"upload_time": "2024-06-24T12:27:46",
"upload_time_iso_8601": "2024-06-24T12:27:46.251850Z",
"url": "https://files.pythonhosted.org/packages/f4/34/780748d7d78fb4024dd1a290844374dd0d9830da35593c534638a4e9e54e/markdown_katex-202406.1035-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "07d1fb725e498ae1119ce21d3f7b721a16e42fd43ee0433d1be092c279006b10",
"md5": "bed4290edddc6fce7e141d25980a6c82",
"sha256": "e82f7bf9a8536451da8f01768d847516fa1827feb17140b8eaa0bea9826bdab0"
},
"downloads": -1,
"filename": "markdown-katex-202406.1035.tar.gz",
"has_sig": false,
"md5_digest": "bed4290edddc6fce7e141d25980a6c82",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7",
"size": 39561876,
"upload_time": "2024-06-24T12:28:11",
"upload_time_iso_8601": "2024-06-24T12:28:11.445099Z",
"url": "https://files.pythonhosted.org/packages/07/d1/fb725e498ae1119ce21d3f7b721a16e42fd43ee0433d1be092c279006b10/markdown-katex-202406.1035.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 12:28:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mbarkhau",
"github_project": "markdown-katex",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "markdown-katex"
}