xonecas.io
7814
Ta

tiny-c-agent / files

tiny-c-agent / vendor / queries / markdown / highlights.scm

787 bytes
1;From nvim-treesitter/nvim-treesitter
2(atx_heading
3  (inline) @text.title)
4
5(setext_heading
6  (paragraph) @text.title)
7
8[
9  (atx_h1_marker)
10  (atx_h2_marker)
11  (atx_h3_marker)
12  (atx_h4_marker)
13  (atx_h5_marker)
14  (atx_h6_marker)
15  (setext_h1_underline)
16  (setext_h2_underline)
17] @punctuation.special
18
19[
20  (link_title)
21  (indented_code_block)
22  (fenced_code_block)
23] @text.literal
24
25(fenced_code_block_delimiter) @punctuation.delimiter
26
27(code_fence_content) @none
28
29(link_destination) @text.uri
30
31(link_label) @text.reference
32
33[
34  (list_marker_plus)
35  (list_marker_minus)
36  (list_marker_star)
37  (list_marker_dot)
38  (list_marker_parenthesis)
39  (thematic_break)
40] @punctuation.special
41
42[
43  (block_continuation)
44  (block_quote_marker)
45] @punctuation.special
46
47(backslash_escape) @string.escape