asciidoc: Add support for negated attributes
This commit is contained in:
parent
ad2f61f91a
commit
b52c2a532d
|
@ -67,7 +67,7 @@ add-highlighter shared/asciidoc/ regex \b_[^\n]+?_\b 0:+i
|
|||
add-highlighter shared/asciidoc/ regex __[^\n]+?__ 0:+i
|
||||
|
||||
# Attributes
|
||||
add-highlighter shared/asciidoc/ regex ^:[-\w]+: 0:meta
|
||||
add-highlighter shared/asciidoc/ regex ^:(?:(?<neg>!?)[-\w]+|[-\w]+(?<neg>!?)): 0:meta neg:operator
|
||||
add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta
|
||||
|
||||
# Commands
|
||||
|
|
Loading…
Reference in New Issue
Block a user