22 lines
715 B
VimL
22 lines
715 B
VimL
if exists("b:current_syntax")
|
|
echom b:current_syntax
|
|
finish
|
|
endif
|
|
|
|
runtime! syntax/quarto.vim
|
|
unlet b:current_syntax
|
|
|
|
syn region mbnCalloutNote start=":::\s\+{\.callout-note\s*" end=":::$" keepend
|
|
hi link mbnCalloutNote Question
|
|
|
|
syn region mbnCalloutWarning start=":::\s\+{\.callout-warning\s*" end=":::$" keepend
|
|
hi link mbnCalloutWarning SpellCap
|
|
|
|
syn region mbnCalloutImportant start=":::\s\+{\.callout-important\s*" end=":::$" keepend
|
|
hi link mbnCalloutImportant SpellBad
|
|
|
|
syn region mbnCalloutTip start=":::\s\+{\.callout-tip\s*" end=":::$" keepend
|
|
hi link mbnCalloutTip Question
|
|
|
|
syn region mbnCalloutCaution start=":::\s\+{\.callout-caution\s*" end=":::$" keepend
|
|
hi link mbnCalloutCaution SpellCap
|