markdown: add strikethrough and blockquote captures

This commit is contained in:
Christian Clason 2023-01-13 18:34:26 +01:00
parent 51d220e0bd
commit 7e4a7c4508
3 changed files with 7 additions and 1 deletions

View file

@ -192,7 +192,8 @@ Mainly for markup languages.
@text.underline ; underlined text @text.underline ; underlined text
@text.strike ; strikethrough text @text.strike ; strikethrough text
@text.title ; text that is part of a title @text.title ; text that is part of a title
@text.literal ; literal or verbatim text @text.literal ; literal or verbatim text (e.g., inline code)
@text.quote ; text quotations
@text.uri ; URIs (e.g. hyperlinks) @text.uri ; URIs (e.g. hyperlinks)
@text.math ; math environments (e.g. `$ ... $` in LaTeX) @text.math ; math environments (e.g. `$ ... $` in LaTeX)
@text.environment ; text environments of markup languages @text.environment ; text environments of markup languages

View file

@ -53,6 +53,8 @@
(task_list_marker_unchecked) @text.todo.unchecked (task_list_marker_unchecked) @text.todo.unchecked
(task_list_marker_checked) @text.todo.checked (task_list_marker_checked) @text.todo.checked
(block_quote) @text.quote
[ [
(block_continuation) (block_continuation)
(block_quote_marker) (block_quote_marker)

View file

@ -13,6 +13,8 @@
(strong_emphasis) @text.strong (strong_emphasis) @text.strong
(strikethrough) @text.strike
[ [
(link_destination) (link_destination)
(uri_autolink) (uri_autolink)
@ -36,6 +38,7 @@
(inline_link ["[" "]" "(" ")"] @punctuation.delimiter) (inline_link ["[" "]" "(" ")"] @punctuation.delimiter)
(shortcut_link ["[" "]"] @punctuation.delimiter) (shortcut_link ["[" "]"] @punctuation.delimiter)
; Conceal codeblock and text style markers
([ ([
(code_span_delimiter) (code_span_delimiter)
(emphasis_delimiter) (emphasis_delimiter)