Skip to main content

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

Project description

MyST-Parser

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

myst-parser-0.17.1.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myst_parser-0.17.1-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

Details for the file myst-parser-0.17.1.tar.gz.

File metadata

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

File hashes

Hashes for myst-parser-0.17.1.tar.gz
Algorithm Hash digest
SHA256 45fe6407d49221bdcc10d5000f4f2f3ff2614af268dd33f351f7230d6059f0d8
MD5 949cc55bae65ed6bcfc82e9c3ede7bcc
BLAKE2b-256 f69b295b9844e8769d270b6032ba861a99fdcd9c6b1cebbfc5f9c651f44a165c

See more details on using hashes here.

File details

Details for the file myst_parser-0.17.1-py3-none-any.whl.

File metadata

  • Download URL: myst_parser-0.17.1-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for myst_parser-0.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84815cadbb9f3404651549e5fe332301e4e8c15712013738f67c253f00b8e58f
MD5 06330d83095bfc800227a66318758ed5
BLAKE2b-256 021b1fc71bea281cc3ad95322282aba0dd22aba4cca756a927d7aa5de0813f9c

See more details on using hashes here.

Supported by

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