-
Notifications
You must be signed in to change notification settings - Fork 61
Checkboxes
MeanderingProgrammer edited this page Aug 20, 2024
·
11 revisions
Raw data being used:
# Checkboxes
- [ ] Unchecked
- [x] Checked
- [-] Todo
- [~] Custom
require('render-markdown').setup({
checkbox = {
enabled = true,
unchecked = {
icon = ' ',
highlight = 'RenderMarkdownUnchecked',
},
checked = {
icon = ' ',
highlight = 'RenderMarkdownChecked',
},
custom = {
todo = { raw = '[-]', rendered = ' ', highlight = 'RenderMarkdownTodo' },
},
},
})
require('render-markdown').setup({
checkbox = {
unchecked = { icon = '✘ ' },
checked = { icon = '✔ ' },
custom = { todo = { rendered = '◯ ' } },
},
})
require('render-markdown').setup({
checkbox = {
custom = {
important = { raw = '[~]', rendered = ' ', highlight = 'DiagnosticWarn' },
},
},
})