src/js/markdownItPlugins/markdownitTaskPlugin.js
function removeMarkdownTaskFormatText(token) {
    // '[X] ' length is 4
    // FIXED: we don't need first space
    token.content = token.content.slice(4);
    token.children[0].content = token.children[0].content.slice(4);
}
function removeMarkdownTaskFormatText(token) {
    // '[X] ' length is 4
    // FIXED: we don't need first space
    token.content = token.content.slice(4);
    token.children[0].content = token.children[0].content.slice(4);
}
function removeMarkdownTaskFormatText ( token ) { // '[X] ' length is 4 // FIXED: we don't need first space token . content = token . content . slice ( 4 ) ; token . children [ 0 ] . content = token . children [ 0 ] . content . slice ( 4 ) ; }
Remove task format text for rendering
@param {object} token Token object
@ignore
Remove task format text for rendering