@willbooster/tree-sitter-markdown 0.0.0-placeholder.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,47 @@
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
@@ -0,0 +1,25 @@
1
+ (fenced_code_block
2
+ (info_string
3
+ (language) @injection.language)
4
+ (code_fence_content) @injection.content)
5
+
6
+ ((html_block) @injection.content
7
+ (#set! injection.language "html"))
8
+
9
+ (document
10
+ .
11
+ (section
12
+ .
13
+ (thematic_break)
14
+ (_) @injection.content
15
+ (thematic_break))
16
+ (#set! injection.language "yaml"))
17
+
18
+ ((minus_metadata) @injection.content
19
+ (#set! injection.language "yaml"))
20
+
21
+ ((plus_metadata) @injection.content
22
+ (#set! injection.language "toml"))
23
+
24
+ ((inline) @injection.content
25
+ (#set! injection.language "markdown_inline"))