From 775b8ddb3591e2af738bf762197471a3d8242508 Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Wed, 10 Jul 2019 00:24:51 +0900 Subject: [PATCH 1/2] Upgrade markdown-it to v9 --- docs/markdown.md | 2 +- package.json | 2 +- yarn.lock | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/markdown.md b/docs/markdown.md index bf57bd75..97cceb56 100644 --- a/docs/markdown.md +++ b/docs/markdown.md @@ -18,7 +18,7 @@ foo bar ``` -?> An empty line may be required before the dash ruler by the spec of [CommonMark](https://spec.commonmark.org/0.28/#example-28). You can use the underline ruler `___`, asterisk ruler `***`, and space-included ruler `- - -` when you not want to add empty lines. +?> An empty line may be required before the dash ruler by the spec of [CommonMark](https://spec.commonmark.org/0.29/#example-28). You can use the underline ruler `___`, asterisk ruler `***`, and space-included ruler `- - -` when you not want to add empty lines. ## Extended features diff --git a/package.json b/package.json index 5b65e0a5..2b43db8d 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "color-string": "^1.5.3", "js-yaml": "^3.13.0", "lodash.kebabcase": "^4.1.1", - "markdown-it": "^8.4.2", + "markdown-it": "^9.0.0", "markdown-it-front-matter": "^0.1.2", "postcss": "^7.0.17" }, diff --git a/yarn.lock b/yarn.lock index c783f7f2..bcae1361 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4822,6 +4822,17 @@ markdown-it@^8.4.2: mdurl "^1.0.1" uc.micro "^1.0.5" +markdown-it@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-9.0.0.tgz#804e9285d2a0e2457216ed6a1d96e219483f2fb1" + integrity sha512-bUVTYGt/K/mYr3HlE+PBe6TOTyWghcpSZqOD9t+NFRlwJMhp9Kp6WQ8fJ26I6v1Xo71UmPYt1S4Hc9Lq8GZx2Q== + dependencies: + argparse "^1.0.7" + entities "~1.1.1" + linkify-it "^2.0.0" + mdurl "^1.0.1" + uc.micro "^1.0.5" + markdown-table@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60" From e9d6ccf008ac281d92f2fa17605a0d3e32da9b6a Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Thu, 11 Jul 2019 18:38:39 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc8be1a..8d732625 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Changed +- Follow the latest spec of [CommonMark 0.29](https://spec.commonmark.org/0.29/) by upgraded markdown-it v9 ([#174](https://github.com/marp-team/marpit/pull/174)) - Allow customization the content of pagination ([#175](https://github.com/marp-team/marpit/pull/175)) ## v1.2.0 - 2019-06-17