markdown:{ 178+ // markdown-it-anchor 的选项 179+ anchor:{permalink:false}, 180+ // markdown-it-toc 的选项 181+ toc:{includeLevel:[1,2]}, 182+ extendMarkdown:md=>{ 183+ // 使用更多的 markdown-it 插件! 184+ md.use(require('markdown-it-checkbox'),{ ...
Plugin to create checkboxes formarkdown-itmarkdown parser. This plugin allows to create checkboxes for tasklists as discussedhere. Usage Install node.js, browser: npm install @gerhobbelt/markdown-it-checkbox --save Use varmd=require('@gerhobbelt/markdown-it')().use(require('@gerhobbelt/ma...
Colorful checkbox. Latest version: 1.0.2, last published: 3 years ago. Start using markdown-it-colorful-checkbox in your project by running `npm i markdown-it-colorful-checkbox`. There are no other projects in the npm registry using markdown-it-colorful-
"markdown-it-task-checkbox": "^1.0.6", "mermaid": "^10.2.4", "vitepress-plugin-mermaid": "2.0.13", "vitepress-plugin-pagefind": "0.2.10", 14 changes: 14 additions & 0 deletions 14 packages/theme/src/composables/config/index.ts Original file line numberDiff line numberDiff line ch...
Modified fromhttps://github.com/mcecot/markdown-it-checkboxandhttps://github.com/revin/markdown-it-task-lists Usage Install node.js: npm install markdown-it-task-checkbox --save Use varmd=require('markdown-it')().use(require('markdown-it-task-checkbox'),{disabled:true,divWrap:false,div...
npm install markdown-it-task-checkbox --saveUsevar md = require('markdown-it')() .use(require('markdown-it-task-checkbox'),{ disabled: true, divWrap: false, divClass: 'checkbox', idPrefix: 'cbx_', ulClass: 'task-list', liClass: 'task-list-item' }); md.render('- [x] ...
"markdown-it-task-checkbox": "^1.0.6", "mermaid": "^10.2.4", "vitepress-plugin-mermaid": "2.0.13", "vitepress-plugin-pagefind": "0.2.10", 14 changes: 14 additions & 0 deletions 14 packages/theme/src/composables/config/index.ts Original file line numberDiff line numberDiff line ch...
"markdown-it-task-checkbox": "^1.0.6", "mermaid": "^10.2.4", "vitepress-plugin-mermaid": "2.0.13", "vitepress-plugin-pagefind": "0.2.10", 14 changes: 14 additions & 0 deletions 14 packages/theme/src/composables/config/index.ts Original file line numberDiff line numberDiff line ch...