asciidoc: Add a highlighter for admonition paragraphs

This commit is contained in:
Kylie McClain 2020-07-23 00:01:36 -04:00
parent e845495cc3
commit a2c378c7b3

View File

@ -73,6 +73,10 @@ add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta
# Options
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
# ‾‾‾‾‾‾‾‾