Skip to content

Commit

Permalink
Update micromark
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 26, 2023
1 parent 5ff02b1 commit b066ffd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import {
*/
export function gfm(options) {
return combineExtensions([
gfmAutolinkLiteral,
gfmAutolinkLiteral(),
gfmFootnote(),
gfmStrikethrough(options),
gfmTable,
gfmTaskListItem
gfmTable(),
gfmTaskListItem()
])
}

Expand All @@ -59,11 +59,11 @@ export function gfm(options) {
*/
export function gfmHtml(options) {
return combineHtmlExtensions([
gfmAutolinkLiteralHtml,
gfmAutolinkLiteralHtml(),
gfmFootnoteHtml(options),
gfmStrikethroughHtml,
gfmTableHtml,
gfmTagfilterHtml,
gfmTaskListItemHtml
gfmStrikethroughHtml(),
gfmTableHtml(),
gfmTagfilterHtml(),
gfmTaskListItemHtml()
])
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"index.js"
],
"dependencies": {
"micromark-extension-gfm-autolink-literal": "^1.0.0",
"micromark-extension-gfm-footnote": "^1.0.0",
"micromark-extension-gfm-strikethrough": "^1.0.0",
"micromark-extension-gfm-table": "^1.0.0",
"micromark-extension-gfm-tagfilter": "^1.0.0",
"micromark-extension-gfm-task-list-item": "^1.0.0",
"micromark-util-combine-extensions": "^1.0.0",
"micromark-util-types": "^1.0.0"
"micromark-extension-gfm-autolink-literal": "^2.0.0",
"micromark-extension-gfm-footnote": "^2.0.0",
"micromark-extension-gfm-strikethrough": "^2.0.0",
"micromark-extension-gfm-table": "^2.0.0",
"micromark-extension-gfm-tagfilter": "^2.0.0",
"micromark-extension-gfm-task-list-item": "^2.0.0",
"micromark-util-combine-extensions": "^2.0.0",
"micromark-util-types": "^2.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
Expand All @@ -52,7 +52,7 @@
"hast-util-from-html": "^1.0.0",
"hast-util-select": "^5.0.0",
"hast-util-to-text": "^3.0.0",
"micromark": "^3.0.0",
"micromark": "^4.0.0",
"prettier": "^2.0.0",
"rehype": "^12.0.0",
"rehype-sort-attributes": "^4.0.0",
Expand Down

0 comments on commit b066ffd

Please sign in to comment.