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