Update dependency myst-parser to v3 #120
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.18.1
->==3.0.1
Release Notes
executablebooks/MyST-Parser (myst-parser)
v3.0.1
Compare Source
🐛 Bug Fixes
Full Changelog: v3.0.1...v3.0.0
v3.0.0
Compare Source
Upgraded dependencies
New features
line-block
directive by gh-user:chrisjsewell in gh-pr:900Improvements
attr_block
by gh-user:chrisjsewell in gh-pr:831Internal
Documentation
used
in docs/syntax/math.md by gh-user:ice-tong in gh-pr:810Full Changelog: v2.0.0...v3.0.0
v2.0.0
Compare Source
This release primarily updates core myst-parser dependencies,
with some minor changes to parsing behaviour:
⬆️ UPGRADE:
markdown-it-py
to v3 (gh-pr:773)and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
⬆️ UPGRADE:
linkify-it-py
to v2 (gh-pr:675)⬆️ UPGRADE: Add support for
docutils
v0.20 (gh-pr:775)⬆️ UPGRADE: Add support for
sphinx
v7, and remove v5 support (gh-pr:776)⬆️ UPGRADE: Remove Python 3.7 support and add testing for Python 3.11 (gh-pr:772)
👌 Improve default slug generation for heading anchors, thanks to gh-user:Cimbali (gh-pr:777)
For example,
# ` a` b `c `
will now correctly create the slug-a-b-c-
and nota-b-c
👌 IMPROVE: Substitution extension (gh-pr:777)
myst.substitution
warning for errors in resolving the substitution content.🧪 Introduce a gate/check GHA job, thanks to gh-user:webknjaz (gh-pr:635)
Full Changelog: v1.0.0...v2.0.0
v1.0.0
Compare Source
🎉 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 😄
v0.19.2
Compare Source
✨ NEW: Add myst_fence_as_directive config (gh-pr:742)
Setting the following config, for example:
v0.19.1
Compare Source
🐛 FIX
NoURI
error in doc reference resolution, for texinfo builds (gh-pr:734)v0.19.0
Compare Source
This release brings a number of exciting new features, improvements, and upgrades 🎉
Full Changelog: v0.18.1...v0.19.0
📚 Rewritten documentation
The documentation has been almost completely rewritten,
with a clearer structure, many more examples, rich hover tips, and a new live preview page ⚡️ (powered by pyscript, gh-pr:717).
The code base API is also now fully documented by sphinx-autodoc2, which even allows for MyST docstrings! (gh-pr:704).
⬆️ Add Sphinx 6 support, drop Sphinx 4
The code base has been updated to support sphinx v6, and is no longer tested against sphinx v4 (gh-pr:664)
📄 Extended docutils (single-page) support
The
docutils
parser now supports many more features, and improvements to support live previews:myst_suppress_warnings
option added, mirroring Sphinx, to suppress MyST warnings (gh-pr:655)myst_meta_html
andmyst_substitutions
options are now supported (gh-pr:672)myst_heading_anchors
option is now supported (gh-pr:678)🔗 Extended Markdown links
See the Extended Markdown links section for the full guide.
You can now use standard Markdown link syntax to reference many different types of targets, in a more consistent way.
[text](relative/path/myfile.md)
work as previously, to link to files,but they can also be relative to source directory:
[text](/path/from/srcdir/myfile.md)
.You can also use
<project:file.md>
<path:myfile.txt>
will link specifically to a downloadable file[text](#target)
or<project:#target>
will link (in order of priority) to any local target, local heading anchor, target in the same project, or intersphinx (inventory) target[text](inv:name:domain:type#target)
will link specifically to a Sphinx inventory target, or to any inventory<inv:#target>
, and can even use*
wildcards like<inv:*:*:*#*.target>
myst_inventories
config optionmyst-inv
CLI makes it easy to find the correct inventory target:::{tip}
It is advised (although not immediately necessary) to prefix all internal references with
#
.For example,
[...](my-reference)
, should be changed to[...](#my-reference)
.:::
{}
Attributes syntaxThe
attrs_inline
andattrs_block
extensions allow for common Markdown syntaxes to be extended with greater control over the output.For example, you can now add classes, ids, and other attributes to inline code, images, and links, as well as to code blocks and directives.
`a = 1`{#id .class l=python}
![image](image.png){#id .class width=100px}
[some text]{#id .class}
A paragraph block can have attributes too:
A code fence can be given line numbers and line emphasis:
A definition list can be turned into a glossary, with referenceable terms:
Quote blocks can be given an attribution:
{attribution="Chris Sewell"} > My quote
👌 Miscellaneous improvements
colon_fence
extension now renders internal content as MyST, rather than as a code block (gh-pr:713)include
directive in MyST documents now supports a:heading-offset:
option, to offset the heading levels in the included documentmyst_heading_slug_func
option now supports setting astr
which points to a fully qualified function name, e.g."module.path.func"
(gh-pr:696)myst_enable_checkboxes
option allows for task list checkboxes to be enabled/disabled (gh-pr:686)Additional contributions
Python<3.8
in gh-pr:642, thanks to gh-user:hukkinConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.