myst-parser4.0.1
Published
An extended [CommonMark](https://spec.commonmark.org/) compliant parser,
pip install myst-parser
Package Downloads
Authors
Project URLs
Requires Python
>=3.10
Dependencies
- docutils
<0.22,>=0.19 - jinja2
- markdown-it-py
~=3.0 - mdit-py-plugins
>=0.4.1,~=0.4 - pyyaml
- sphinx
<9,>=7 - pre-commit
~=4.0; extra == "code-style" - linkify-it-py
~=2.0; extra == "linkify" - sphinx
>=7; extra == "rtd" - ipython
; extra == "rtd" - sphinx-book-theme
~=1.1; extra == "rtd" - sphinx-design
; extra == "rtd" - sphinx-copybutton
; extra == "rtd" - sphinxext-rediraffe
~=0.2.7; extra == "rtd" - sphinxext-opengraph
~=0.9.0; extra == "rtd" - sphinx-pyscript
; extra == "rtd" - sphinx-tippy
>=0.4.3; extra == "rtd" - sphinx-autodoc2
~=0.5.0; extra == "rtd" - sphinx-togglebutton
; extra == "rtd" - beautifulsoup4
; extra == "testing" - coverage
[toml]; extra == "testing" - defusedxml
; extra == "testing" - pytest
<9,>=8; extra == "testing" - pytest-cov
; extra == "testing" - pytest-regressions
; extra == "testing" - pytest-param-files
~=0.6.0; extra == "testing" - sphinx-pytest
; extra == "testing" - pygments
<2.19; extra == "testing" - pygments
; extra == "testing-docutils" - pytest
<9,>=8; extra == "testing-docutils" - pytest-param-files
~=0.6.0; extra == "testing-docutils"
MyST-Parser
MyST is a rich and extensible flavor of Markdown meant for technical documentation and publishing.
MyST is a flavor of markdown that is designed for simplicity, flexibility, and extensibility.
This repository serves as the reference implementation of MyST Markdown, as well as a collection of tools to support working with MyST in Python and Sphinx.
It contains an extended CommonMark-compliant parser using markdown-it-py, as well as a Sphinx extension that allows you to write MyST Markdown in Sphinx.
See the MyST Parser documentation for more information.
Installation
To install the MyST parser, run the following in a Conda environment (recommended):
conda install -c conda-forge myst-parser
or
pip install myst-parser
Or for package development:
git clone https://github.com/executablebooks/MyST-Parser
cd MyST-Parser
git checkout master
pip install -e .[code_style,linkify,testing,rtd]
To use the MyST parser in Sphinx, simply add: extensions = ["myst_parser"] to your conf.py.
Contributing
We welcome all contributions! See the Contributing Guide for more details.