An extended commonmark compliant parser, with bridges to docutils/sphinx
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v3.0.0...v3.0.1
line-block
directive by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/900
attr_block
by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/831
used
in docs/syntax/math.md by @ice-tong in https://github.com/executablebooks/MyST-Parser/pull/810
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v2.0.0...v3.0.0
This release primarily updates core myst-parser dependencies, with some minor changes to parsing behaviour:
โฌ๏ธ UPGRADE: markdown-it-py
to v3 (https://github.com/executablebooks/MyST-Parser/pull/773)
โฌ๏ธ UPGRADE: linkify-it-py
to v2 (https://github.com/executablebooks/MyST-Parser/675)
โฌ๏ธ UPGRADE: Add support for docutils
v0.20 (https://github.com/executablebooks/MyST-Parser/775)
โฌ๏ธ UPGRADE: Add support for sphinx
v7, and remove v5 support (https://github.com/executablebooks/MyST-Parser/776)
โฌ๏ธ UPGRADE: Remove Python 3.7 support and add testing for Python 3.11 (https://github.com/executablebooks/MyST-Parser/772)
๐ Improve default slug generation for heading anchors, thanks to @Cimbali (https://github.com/executablebooks/MyST-Parser/777)
# ` a` b `c `
will now correctly create the slug -a-b-c-
and not a-b-c
๐ IMPROVE: Substitution extension (https://github.com/executablebooks/MyST-Parser/777)
myst.substitution
warning for errors in resolving the substitution content.๐งช Introduce a gate/check GHA job, thanks to @webknjaz (https://github.com/executablebooks/MyST-Parser/635)
Full Changelog: v1.0.0...v2.0.0
๐ MyST-Parser 1.0.0 ๐
This changes absolutely nothing in the code, or about the maintenance/release policy of this project. But it does feel about time ๐
myst_fence_as_directive
config by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/742
Setting the following config, for example:
extensions = ["myst_parser", "sphinxcontrib.mermaid"]
myst_fence_as_directive = ["mermaid"]
# optional to use directive options
myst_enable_extensions = ["attrs_block"]
allows for one to write:
{caption="My caption"}
{alt="HTML alt" align=center}
```mermaid
graph LR
a --> b
```
and have interoperable rendering with tools like GitHub.
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.19.1...v0.19.2
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.19.0...v0.19.1
This release brings a number of exciting new features, improvements, and upgrades ๐ https://myst-parser.readthedocs.io
[text](inv:name#target)
{}
New attributes syntax, to extend common Markdown syntaxes, e.g. ![image](image.png){#id .class width=100px}
For a full list of changes, see: https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md
Happy parsing! ๐ค Executable books team
)
by @Ab2nour in https://github.com/executablebooks/MyST-Parser/pull/588
sphinxcontrib.mermaid
typo by @bskinn in https://github.com/executablebooks/MyST-Parser/pull/599
utf8
by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/610
attrs_image
(experimental) extension by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/620
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.18.0...v0.18.1
parse_directive_text
when body followed by options by @chrisjsewell in https://github.com/executablebooks/MyST-Parser/pull/580
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.17.2...v0.18.0
Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.17.1...v0.17.2