Skip to content

Marp is Checkbox support? #547

Answered by yhatt
M-Yuu23586 asked this question in Q&A
Discussion options

You must be logged in to vote

Marp supports Markdown task list items via compatible markdown-it plugin.

Example (using markdown-it-task-lists)

// engine.mjs
import markdownItTaskList from 'markdown-it-task-lists'

export default ({ marp }) => marp.use(markdownItTaskList)
npm install --save-dev @marp-team/marp-cli markdown-it-task-lists
npx marp --engine ./engine.mjs --html ./your-markdown.md

--html option is required to render <input> tags generated by markdown-it-task-lists.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by M-Yuu23586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants