asciidoc: Add a highlighter for admonition paragraphs
This commit is contained in:
parent
e845495cc3
commit
a2c378c7b3
|
@ -73,6 +73,10 @@ add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta
|
||||||
# Options
|
# Options
|
||||||
add-highlighter shared/asciidoc/ regex ^\[[^\n]+\]$ 0:operator
|
add-highlighter shared/asciidoc/ regex ^\[[^\n]+\]$ 0:operator
|
||||||
|
|
||||||
|
# Admonition pargraphs
|
||||||
|
add-highlighter shared/asciidoc/ regex ^(NOTE|TIP|IMPORTANT|CAUTION|WARNING): 0:block
|
||||||
|
add-highlighter shared/asciidoc/ regex ^\[(NOTE|TIP|IMPORTANT|CAUTION|WARNING)\]$ 0:block
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
# ‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user