Skip to main content

An extended commonmark compliant parser, with bridges to docutils & sphinx.

Project description

MyST-Parser

Note: myst-docutils is identical to myst-parser, but without installation requirements on sphinx

Github-CI Coverage Status Documentation Status Code style: black PyPI Conda PyPI - Downloads

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-docutils

or

pip install myst-docutils

Or for package development:

git clone https://github.com/executablebooks/MyST-Parser
cd MyST-Parser
git checkout master
pip install -e .[code_style,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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myst-docutils-0.18.0.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

myst_docutils-0.18.0-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file myst-docutils-0.18.0.tar.gz.

File metadata

  • Download URL: myst-docutils-0.18.0.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for myst-docutils-0.18.0.tar.gz
Algorithm Hash digest
SHA256 7afc88b8d2db05647729f40cbf694dc3a7ce817d7efee312e5c1c86d24d80e60
MD5 a13677405f395cf4a48cb6a51b6ef2c9
BLAKE2b-256 9b3f4ad41b6c5dbef01ed8197bd0528abb95e7bb3f42f3e5573a01f5abf9b149

See more details on using hashes here.

Provenance

File details

Details for the file myst_docutils-0.18.0-py3-none-any.whl.

File metadata

File hashes

Hashes for myst_docutils-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5cc5681fbc47f407565aff4b481744fe3be5ae8cd7c1c8679bb2d9df1d5eeca
MD5 9b24edd92e73089549f74eedfe31e33a
BLAKE2b-256 c1a4f067ddef92e910a36378a6e2ab4dd209ab8270ef663c257619edb242c5dc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page