| 1 | (tag_name) @tag |
| 2 | (erroneous_end_tag_name) @error |
| 3 | (doctype) @constant |
| 4 | (attribute_name) @attribute |
| 5 | |
| 6 | (attribute [(attribute_value) (quoted_attribute_value)] @string) |
| 7 | |
| 8 | ((attribute |
| 9 | (attribute_name) @attribute |
| 10 | (quoted_attribute_value (attribute_value) @markup.link.url)) |
| 11 | (#any-of? @attribute "href" "src")) |
| 12 | |
| 13 | ((element |
| 14 | (start_tag |
| 15 | (tag_name) @_tag) |
| 16 | (text) @markup.link.label) |
| 17 | (#eq? @_tag "a")) |
| 18 | |
| 19 | ((element |
| 20 | (start_tag |
| 21 | (tag_name) @_tag) |
| 22 | (text) @markup.bold) |
| 23 | (#any-of? @_tag "strong" "b")) |
| 24 | |
| 25 | ((element |
| 26 | (start_tag |
| 27 | (tag_name) @_tag) |
| 28 | (text) @markup.italic) |
| 29 | (#any-of? @_tag "em" "i")) |
| 30 | |
| 31 | ((element |
| 32 | (start_tag |
| 33 | (tag_name) @_tag) |
| 34 | (text) @markup.strikethrough) |
| 35 | (#any-of? @_tag "s" "del")) |
| 36 | |
| 37 | [ |
| 38 | "<" |
| 39 | ">" |
| 40 | "</" |
| 41 | "/>" |
| 42 | "<!" |
| 43 | ] @punctuation.bracket |
| 44 | |
| 45 | "=" @punctuation.delimiter |
| 46 | |
| 47 | (comment) @comment |