From 7e4a7c45082cf4fe5d42880827e2602cdaffc2f2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 13 Jan 2023 18:34:26 +0100 Subject: markdown: add strikethrough and blockquote captures --- queries/markdown/highlights.scm | 2 ++ queries/markdown_inline/highlights.scm | 3 +++ 2 files changed, 5 insertions(+) (limited to 'queries') diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm index d58998043..5fc378e58 100644 --- a/queries/markdown/highlights.scm +++ b/queries/markdown/highlights.scm @@ -53,6 +53,8 @@ (task_list_marker_unchecked) @text.todo.unchecked (task_list_marker_checked) @text.todo.checked +(block_quote) @text.quote + [ (block_continuation) (block_quote_marker) diff --git a/queries/markdown_inline/highlights.scm b/queries/markdown_inline/highlights.scm index c36a378fd..9130ba06b 100644 --- a/queries/markdown_inline/highlights.scm +++ b/queries/markdown_inline/highlights.scm @@ -13,6 +13,8 @@ (strong_emphasis) @text.strong +(strikethrough) @text.strike + [ (link_destination) (uri_autolink) @@ -36,6 +38,7 @@ (inline_link ["[" "]" "(" ")"] @punctuation.delimiter) (shortcut_link ["[" "]"] @punctuation.delimiter) +; Conceal codeblock and text style markers ([ (code_span_delimiter) (emphasis_delimiter) -- cgit v1.2.3-70-g09d2