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.17.0.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

myst_docutils-0.17.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myst-docutils-0.17.0.tar.gz
  • Upload date:
  • Size: 57.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for myst-docutils-0.17.0.tar.gz
Algorithm Hash digest
SHA256 f603c4db0fcafe68c909a32e59c83af128d344f5ca72b86a3f6e6e7f3797f239
MD5 5277c26c59550130446240395aefaded
BLAKE2b-256 8a0083f991e2fdd9f0fb6174f56b3b7dd1a1b0862518bf52194127d7c3867619

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myst_docutils-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for myst_docutils-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58d0f7548e039c25e962c9d037903ae834f7bf49129b79925aa1d7df1be70a6b
MD5 d695f487be351d9bff8ad9f8dbf29215
BLAKE2b-256 736151706418e6a57b9437b386a8295359fb4308c58c0f3da04bf2445b8a6693

See more details on using hashes here.

Supported by

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