helix-mods/runtime/queries/markdown/highlights.scm

37 lines
551 B
Scheme
Raw Normal View History

2021-12-14 16:45:38 +01:00
[
(atx_heading)
(setext_heading)
] @markup.heading
(code_fence_content) @none
[
(indented_code_block)
(fenced_code_block)
] @markup.raw.block
(block_quote) @markup.quote
2021-12-14 16:45:38 +01:00
(code_span) @markup.raw.inline
(emphasis) @markup.italic
(strong_emphasis) @markup.bold
(link_destination) @markup.link.url
(link_label) @markup.link.label
2021-12-14 16:45:38 +01:00
[
(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