Skip to content

Commit 8ac219a

Browse files

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ repos:
3535
additional_dependencies:
3636
- types-urllib3
3737
- sphinx~=8.2
38-
- markdown-it-py~=3.0
39-
- mdit-py-plugins~=0.4.0
38+
- markdown-it-py~=4.0
39+
- mdit-py-plugins~=0.5.0
4040
files: >
4141
(?x)^(
4242
myst_parser/.*py|

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ requires-python = ">=3.11"
3535
dependencies = [
3636
"docutils>=0.19,<0.22",
3737
"jinja2", # required for substitutions, but let sphinx choose version
38-
"markdown-it-py~=3.0",
39-
"mdit-py-plugins~=0.4,>=0.4.1",
38+
"markdown-it-py~=4.0",
39+
"mdit-py-plugins~=0.5",
4040
"pyyaml",
4141
"sphinx>=8,<9",
4242
]

tests/test_commonmark/commonmark.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4969,15 +4969,15 @@
49694969
},
49704970
{
49714971
"markdown": "foo <!-- not a comment -- two hyphens -->\n",
4972-
"html": "<p>foo &lt;!-- not a comment -- two hyphens --&gt;</p>\n",
4972+
"html": "<p>foo <!-- not a comment -- two hyphens --></p>\n",
49734973
"example": 622,
49744974
"start_line": 9087,
49754975
"end_line": 9091,
49764976
"section": "Raw HTML"
49774977
},
49784978
{
49794979
"markdown": "foo <!--> foo -->\n\nfoo <!-- foo--->\n",
4980-
"html": "<p>foo &lt;!--&gt; foo --&gt;</p>\n<p>foo &lt;!-- foo---&gt;</p>\n",
4980+
"html": "<p>foo <!--> foo --&gt;</p>\n<p>foo &lt;!-- foo---&gt;</p>\n",
49814981
"example": 623,
49824982
"start_line": 9096,
49834983
"end_line": 9103,

0 commit comments

Comments
 (0)