asciidoc: Add a highlighter for in-word bolding

This commit is contained in:
Kylie McClain 2020-07-22 23:15:11 -04:00
parent 76f1b7a5f9
commit 7274092955

View File

@ -46,6 +46,8 @@ add-highlighter shared/asciidoc/ regex \B(?:\+[^\n]+?\+|`[^\n]+?`)\B 0:mono
add-highlighter shared/asciidoc/ regex \b_[^\n]+?_\b 0:+i
add-highlighter shared/asciidoc/ regex \s\*[^\n\*]+\*\B 0:+b
add-highlighter shared/asciidoc/ regex \h\*[^\n\*]+\*\B 0:+b
add-highlighter shared/asciidoc/ regex ^\*{2}(?!\h)[^\n\*]+\*{2} 0:+b
add-highlighter shared/asciidoc/ regex \h\*{2}[^\n\*]+\*{2} 0:+b
add-highlighter shared/asciidoc/ regex ^:[-\w]+: 0:meta
# Commands