This commit is contained in:
11
node_modules/mdast-util-gfm-strikethrough/from-markdown.js
generated
vendored
Normal file
11
node_modules/mdast-util-gfm-strikethrough/from-markdown.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
exports.canContainEols = ['delete']
|
||||
exports.enter = {strikethrough: enterStrikethrough}
|
||||
exports.exit = {strikethrough: exitStrikethrough}
|
||||
|
||||
function enterStrikethrough(token) {
|
||||
this.enter({type: 'delete', children: []}, token)
|
||||
}
|
||||
|
||||
function exitStrikethrough(token) {
|
||||
this.exit(token)
|
||||
}
|
||||
Reference in New Issue
Block a user