@@ -174,7 +174,7 @@ require('render-markdown').setup({
174174 checked = ' ' ,
175175 -- Specify custom checkboxes, must be surrounded in square brackets
176176 custom = {
177- todo = { text = ' [-]' , icon = ' ' , highlight = ' @markup.raw' },
177+ todo = { raw = ' [-]' , rendered = ' ' , highlight = ' @markup.raw' },
178178 },
179179 },
180180 -- Character that will replace the > at the start of block quotes
@@ -311,15 +311,15 @@ is used to hide the character.
311311The checked ` [ ] ` & unchecked ` [x] ` are directly replaced with these values.
312312
313313Additionally ` custom ` states can be specified, an example of this is provided
314- with: ` todo = { text = '[-]', icon = ' ', highlight = '@markup.raw' } ` .
314+ with: ` todo = { raw = '[-]', rendered = ' ', highlight = '@markup.raw' } ` .
315315
316316This requires neovim >= ` 0.10.0 ` since it relies on ` inline ` extmarks.
317317
318318The key in the ` custom ` table is unused. The parts of the value are:
319319
320- - ` text ` : matched against the raw text of a ` shortcut_link ` , in the same way as ` callouts `
321- - ` icon ` : replaces the ` text ` value when rendering
322- - ` highlight ` : color used for ` icon `
320+ - ` raw ` : matched against the raw text of a ` shortcut_link ` , in the same way as ` callouts `
321+ - ` rendered ` : replaces the ` raw ` value when rendering
322+ - ` highlight ` : color used for ` rendered ` text
323323
324324### quote
325325
0 commit comments