An extended [CommonMark](https://spec.commonmark.org/) compliant parser,
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file myst_parser-4.0.0.tar.gz
.
File metadata
- Download URL: myst_parser-4.0.0.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 851c9dfb44e36e56d15d05e72f02b80da21a9e0d07cba96baf5e2d476bb91531 |
|
MD5 | e702667009f8e1d054d0de2718276384 |
|
BLAKE2b-256 | 85556d1741a1780e5e65038b74bce6689da15f620261c490c3511eb4c12bac4b |
File details
Details for the file myst_parser-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: myst_parser-4.0.0-py3-none-any.whl
- Upload date:
- Size: 84.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9317997552424448c6096c2558872fdb6f81d3ecb3a40ce84a7518798f3f28d |
|
MD5 | 25125e0d61eaff86d2a0dda105c03ff0 |
|
BLAKE2b-256 | cab4b036f8fdb667587bb37df29dc6644681dd78b7a2a6321a34684b79412b28 |