Skip to content

Update myst-parser requirement from ~=0.15.2 to ~=0.17.0

Created by: dependabot[bot]

Updates the requirements on myst-parser to permit the latest version.

Release notes

Sourced from myst-parser's releases.

v0.17.0

See: https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html

What's Changed

Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.16.1...v0.17.0

Changelog

Sourced from myst-parser's changelog.

0.17.0 - 2021-02-11

This release contains a number of breaking improvements.

Full Changelog: v0.16.1...v0.17.0

️ Markdown link resolution improvements

WARNING: This is a breaking change for links that rely on auto-generated anchor links. You should now manually enable auto-generated anchor links if you see errors like WARNING reference target not found.

Markdown links are of the format [text](https://github.com/executablebooks/MyST-Parser/blob/master/link). MyST-Parser looks to smartly resolve such links, by identifying if they are:

  1. A link to an external resource, e.g. [text](http://example.com)
  2. A link to another source document, e.g. [text](https://github.com/executablebooks/MyST-Parser/blob/master/file.md)
    • If header-anchors are enabled, anchor links are also supported, e.g. [text](https://github.com/executablebooks/MyST-Parser/blob/master/file.md#anchor)
  3. A link to an internal sphinx cross-reference, e.g. [text](https://github.com/executablebooks/MyST-Parser/blob/master/my-reference)

an additional situation is now supported:

  1. A link to a source file, which is not a document, e.g. [text](https://github.com/executablebooks/MyST-Parser/blob/master/file.js). This behaves similarly to the sphinx download role.

In addition, configuration to more finely tune this behaviour has been added.

  • myst_all_links_external=True, will make all links be treated as (1)
  • myst_url_schemes=("http", "https"), sets what URL schemes are treated as (1)
  • myst_ref_domains=("std", "py"), sets what Sphinx reference domains are checked, when handling (3)

See Markdown Links and Referencing for more information.

️ Dollarmath is now disabled by default

WARNING: This is a breaking change for dollar math. You should now manually enable dollar math (see below).

The default configuration is now myst_enable_extensions=(), instead of myst_enable_extensions=("dollarmath",). If you are using math enclosed in $ or $$ in your documents, you should enable dollarmath explicitly.

See Dollar delimited math for more information.

️ Drop Python 3.6 support

MyST-Parser now supports, and is tested against, Python 3.7 to 3.10.

Add the strikethrough extension and myst_gfm_only configuration

The strikethrough extension allows text within ~~ delimiters to have a strike-through (horizontal line) placed over it. For example, ~~strikethrough with *emphasis*~~ renders as: strikethrough with emphasis.

Important: This extension is currently only supported for HTML output.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports