@@ -309,7 +309,16 @@ Full Default Configuration ~
309
309
important = { raw = '[!IMPORTANT]', rendered = ' Important', highlight = 'DiagnosticHint' },
310
310
warning = { raw = '[!WARNING ]', rendered = ' Warning', highlight = 'DiagnosticWarn' },
311
311
caution = { raw = '[!CAUTION]', rendered = ' Caution', highlight = 'DiagnosticError' },
312
+ -- Obsidian: https://help.a.md/Editing+and+formatting/Callouts
313
+ abstract = { raw = '[!ABSTRACT]', rendered = ' Abstract', highlight = 'DiagnosticInfo' },
314
+ todo = { raw = '[!TODO]', rendered = ' Todo', highlight = 'DiagnosticInfo' },
315
+ success = { raw = '[!SUCCESS]', rendered = ' Success', highlight = 'DiagnosticOk' },
316
+ question = { raw = '[!QUESTION]', rendered = ' Question', highlight = 'DiagnosticWarn' },
317
+ failure = { raw = '[!FAILURE]', rendered = ' Failure', highlight = 'DiagnosticError' },
318
+ danger = { raw = '[!DANGER]', rendered = ' Danger', highlight = 'DiagnosticError' },
312
319
bug = { raw = '[!BUG]', rendered = ' Bug', highlight = 'DiagnosticError' },
320
+ example = { raw = '[!EXAMPLE]', rendered = ' Example', highlight = 'DiagnosticHint' },
321
+ quote = { raw = '[!QUOTE]', rendered = ' Quote', highlight = '@markup.quote' },
313
322
},
314
323
-- Window options to use that change between rendered and raw view
315
324
win_options = {
@@ -509,7 +518,16 @@ CALLOUTS *render-markdown-setup-callouts*
509
518
important = { raw = '[!IMPORTANT]', rendered = ' Important', highlight = 'DiagnosticHint' },
510
519
warning = { raw = '[!WARNING ]', rendered = ' Warning', highlight = 'DiagnosticWarn' },
511
520
caution = { raw = '[!CAUTION]', rendered = ' Caution', highlight = 'DiagnosticError' },
521
+ -- Obsidian: https://help.a.md/Editing+and+formatting/Callouts
522
+ abstract = { raw = '[!ABSTRACT]', rendered = ' Abstract', highlight = 'DiagnosticInfo' },
523
+ todo = { raw = '[!TODO]', rendered = ' Todo', highlight = 'DiagnosticInfo' },
524
+ success = { raw = '[!SUCCESS]', rendered = ' Success', highlight = 'DiagnosticOk' },
525
+ question = { raw = '[!QUESTION]', rendered = ' Question', highlight = 'DiagnosticWarn' },
526
+ failure = { raw = '[!FAILURE]', rendered = ' Failure', highlight = 'DiagnosticError' },
527
+ danger = { raw = '[!DANGER]', rendered = ' Danger', highlight = 'DiagnosticError' },
512
528
bug = { raw = '[!BUG]', rendered = ' Bug', highlight = 'DiagnosticError' },
529
+ example = { raw = '[!EXAMPLE]', rendered = ' Example', highlight = 'DiagnosticHint' },
530
+ quote = { raw = '[!QUOTE]', rendered = ' Quote', highlight = '@markup.quote' },
513
531
},
514
532
})
515
533
<
0 commit comments