Add strikethrough support
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
;; #99ADBF #000000 0 1 0 5
|
||||
;; #99ADBF #000000 0 1 0 0 5
|
||||
(comment) @comment @spell
|
||||
|
||||
;; #9ADE7A #000000 0 0 0 1
|
||||
;; #9ADE7A #000000 0 0 0 0 1
|
||||
(attribute_name) @tag.attribute
|
||||
|
||||
;; #FF8F40 #000000 0 0 0 0
|
||||
;; #FF8F40 #000000 0 0 0 0 0
|
||||
((attribute
|
||||
(quoted_attribute_value) @string))
|
||||
|
||||
@@ -15,56 +15,56 @@
|
||||
"\""
|
||||
] @string
|
||||
|
||||
;; #82AAFF #000000 1 0 0 3
|
||||
;; #82AAFF #000000 1 0 0 0 3
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.heading)
|
||||
(#match? @_tag "^title$"))
|
||||
|
||||
;; #82AAFF #000000 1 0 1 3
|
||||
;; #82AAFF #000000 1 0 1 0 3
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.heading.1)
|
||||
(#match? @_tag "^h[1-6]$"))
|
||||
|
||||
;; #FFD700 #000000 1 0 0 2
|
||||
;; #FFD700 #000000 1 0 0 0 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.strong)
|
||||
(#match? @_tag "^(strong|b)$"))
|
||||
|
||||
;; #FF8F40 #000000 0 1 0 2
|
||||
;; #FF8F40 #000000 0 1 0 0 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.italic)
|
||||
(#match? @_tag "^(em|i)$"))
|
||||
|
||||
;; #FF6347 #000000 0 0 1 2
|
||||
;; #FF6347 #000000 0 0 0 1 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.strikethrough)
|
||||
(#match? @_tag "^(s|del)$"))
|
||||
|
||||
;; #82AAFF #000000 0 0 1 2
|
||||
;; #82AAFF #000000 0 0 1 0 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.underline)
|
||||
(#match? @_tag "^u$"))
|
||||
|
||||
;; #9ADE7A #000000 0 0 0 2
|
||||
;; #9ADE7A #000000 0 0 0 0 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @markup.raw)
|
||||
(#match? @_tag "^(code|kbd)$"))
|
||||
|
||||
;; #7dcfff #000000 0 0 1 2
|
||||
;; #7dcfff #000000 0 0 1 0 2
|
||||
((element
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
@@ -74,12 +74,12 @@
|
||||
((attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value
|
||||
;; #7dcfff #000000 0 0 1 5
|
||||
;; #7dcfff #000000 0 0 1 0 5
|
||||
(attribute_value) @string.special.url))
|
||||
(#match? @_attr "^(href|src)$"))
|
||||
|
||||
;; Punctuation
|
||||
;; #BFBDB6 #000000 0 0 0 1
|
||||
;; #BFBDB6 #000000 0 0 0 0 1
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
@@ -87,19 +87,19 @@
|
||||
"/>"
|
||||
] @tag.delimiter
|
||||
|
||||
;; #FFFFFF #000000 0 1 0 1
|
||||
;; #FFFFFF #000000 0 1 0 0 1
|
||||
"=" @operator
|
||||
|
||||
;; #7dcfff #000000 0 0 0 1
|
||||
;; #7dcfff #000000 0 0 0 0 1
|
||||
(tag_name) @tag
|
||||
|
||||
;; #FF8F40 #000000 0 0 0 1
|
||||
;; #FF8F40 #000000 0 0 0 0 1
|
||||
(erroneous_end_tag_name) @tag.error
|
||||
|
||||
;; #FFD700 #000000 0 0 0 1
|
||||
;; #FFD700 #000000 0 0 0 0 1
|
||||
(doctype) @constant
|
||||
|
||||
;; #9ADE7A #000000 0 0 0 1
|
||||
;; #9ADE7A #000000 0 0 0 0 1
|
||||
(attribute_name) @attribute
|
||||
|
||||
; Injections
|
||||
|
||||
Reference in New Issue
Block a user