This commit is contained in:
14
node_modules/micromark-extension-gfm-task-list-item/html.js
generated
vendored
Normal file
14
node_modules/micromark-extension-gfm-task-list-item/html.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
exports.enter = {taskListCheck: enterCheck}
|
||||
exports.exit = {taskListCheck: exitCheck, taskListCheckValueChecked: checked}
|
||||
|
||||
function enterCheck() {
|
||||
this.tag('<input ')
|
||||
}
|
||||
|
||||
function checked() {
|
||||
this.tag('checked="" ')
|
||||
}
|
||||
|
||||
function exitCheck() {
|
||||
this.tag('disabled="" type="checkbox">')
|
||||
}
|
||||
Reference in New Issue
Block a user