aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/markdown/highlights.scm
blob: f12254e99ec6e63602b0ffa7287cdae0f1cafb6d (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
36
37
38
39
40
41
[
  (atx_heading)
  (setext_heading)
] @markup.heading

(code_fence_content) @none

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

(block_quote) @markup.quote

(code_span) @markup.raw.inline

(emphasis) @markup.italic

(strong_emphasis) @markup.bold

(link_destination) @markup.link.url
(link_label) @markup.link.label

[
  (link_text)
  (image_description)
] @markup.link.text

[
  (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