Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
29
node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.js
generated
vendored
Normal file
29
node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @import {HtmlExtension} from 'micromark-util-types'
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create an HTML extension for `micromark` to support GFM task list items when
|
||||
* serializing to HTML.
|
||||
*
|
||||
* @returns {HtmlExtension}
|
||||
* Extension for `micromark` that can be passed in `htmlExtensions` to
|
||||
* support GFM task list items when serializing to HTML.
|
||||
*/
|
||||
export function gfmTaskListItemHtml() {
|
||||
return {
|
||||
enter: {
|
||||
taskListCheck() {
|
||||
this.tag('<input type="checkbox" disabled="" ')
|
||||
}
|
||||
},
|
||||
exit: {
|
||||
taskListCheck() {
|
||||
this.tag('/>')
|
||||
},
|
||||
taskListCheckValueChecked() {
|
||||
this.tag('checked="" ')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user