rc markdown: Highlight HTML tags
This commit is contained in:
parent
f65d5210f8
commit
61fabee03f
|
@ -71,6 +71,11 @@ add-highlighter shared/markdown/url region -recurse \( ([a-z]+://|(mailto|magnet
|
|||
add-highlighter shared/markdown/listblock/angle_bracket_url region (?<=<)([a-z]+://|(mailto|magnet|xmpp):) (?!\\).(?=>)|\n fill link
|
||||
add-highlighter shared/markdown/listblock/url region -recurse \( ([a-z]+://|(mailto|magnet|xmpp):) (?!\\).(?=\))|\s fill link
|
||||
|
||||
try %{
|
||||
require-module html
|
||||
add-highlighter shared/markdown/tag region (?i)</?[a-z][a-z0-9-]*\s*([a-z_:]|(?=>)) > ref html/tag
|
||||
}
|
||||
|
||||
add-highlighter shared/markdown/inline/code region -match-capture (`+) (`+) fill mono
|
||||
|
||||
# Setext-style header
|
||||
|
|
Loading…
Reference in New Issue
Block a user