nvim-treesitter/queries/markdown/highlights.scm

61 lines
902 B
Scheme
Raw Normal View History

;From MDeiml/tree-sitter-markdown
(atx_heading (inline) @text.title)
(setext_heading (paragraph) @text.title)
[
(atx_h1_marker)
(atx_h2_marker)
(atx_h3_marker)
(atx_h4_marker)
(atx_h5_marker)
(atx_h6_marker)
(setext_h1_underline)
(setext_h2_underline)
] @punctuation.special
[
(link_title)
2022-01-11 11:50:50 +01:00
(indented_code_block)
(fenced_code_block)
] @text.literal
[
2022-01-11 11:50:50 +01:00
(fenced_code_block_delimiter)
2021-12-29 10:38:13 +01:00
] @punctuation.delimiter
2022-01-11 11:50:50 +01:00
2021-12-29 10:38:13 +01:00
(code_fence_content) @none
[
(link_destination)
] @text.uri
2021-02-25 12:23:12 +00:00
[
(link_label)
] @text.reference
[
(list_marker_plus)
(list_marker_minus)
(list_marker_star)
(list_marker_dot)
(list_marker_parenthesis)
2021-12-20 18:17:48 -05:00
(thematic_break)
] @punctuation.special
[
(block_continuation)
(block_quote_marker)
] @punctuation.special
2022-01-08 18:56:23 +01:00
[
(backslash_escape)
] @string.escape
2021-12-29 10:38:13 +01:00
([
(info_string)
(fenced_code_block_delimiter)
] @conceal
(#set! conceal ""))
(inline) @spell