summaryrefslogtreecommitdiff
path: root/runtime/queries/markdown/highlights.scm
blob: a102719b1057a8731980e6115a2964666dddf1dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
  (atx_heading)
  (setext_heading)
] @markup.heading

(code_fence_content) @none

[
  (indented_code_block)
  (fenced_code_block)
] @markup.raw.block

(code_span) @markup.raw.inline

(emphasis) @markup.italic

(strong_emphasis) @markup.bold

(link_destination) @markup.underline.link

; (link_label) @markup.label ; TODO: rename

[
  (list_marker_plus)
  (list_marker_minus)
  (list_marker_star)
  (list_marker_dot)
  (list_marker_parenthesis)
] @punctuation.special

[
  (backslash_escape)
  (hard_line_break)
] @string.character.escape