Obsidian.nvim checkboxes
Checkboxes are defined like:
lua
{
ui = {
checkboxes = {
[" "] = { char = " ", hl_group = "ObsidianTodo" },
[">"] = { char = ">", hl_group = "ObsidianDone" },
}
}
}
key
is what is actually used as the underlying value in markdownchar
is the replacement value used byui.enable
hl_group
is what is used forui.enable
for coloring the todo items
There is a hidden, undocumented order
value for checkboxes which defines their sorting order.
See: The toggle_checkbox()
documentation