Skip to content

Commit

Permalink
Update markdown-it to v12 (#114)
Browse files Browse the repository at this point in the history
Fixes #113 by adding a blank line after the table in a test.
  • Loading branch information
valtlai authored Dec 31, 2020
1 parent 3254c2b commit feec9f1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
22 changes: 15 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"browserify": "^16.2.3",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"markdown-it": "^11.0.0",
"markdown-it": "^12.0.2",
"markdown-it-implicit-figures": "^0.9.0",
"mocha": "^7.1.1",
"nyc": "^14.1.1"
},
"peerDependencies": {
"markdown-it": ">= 9.0.0 < 12.0.0"
"markdown-it": ">= 9.0.0 < 13.0.0"
},
"tonicExampleFilename": "demo.js"
}
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ function describeTestsWithOptions(options, postText) {
src = '| h1 | h2 |\n';
src += '| -- | -- |\n';
src += '| c1 | c1 |\n';
src += '\n';
src += '{.c}';
expected = '<table class="c">\n';
expected += '<thead>\n';
Expand Down

0 comments on commit feec9f1

Please sign in to comment.