diff options
| -rw-r--r-- | CONTRIBUTING.md | 3 | ||||
| -rw-r--r-- | queries/markdown/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/markdown_inline/highlights.scm | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 123d23595..34131d446 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -192,7 +192,8 @@ Mainly for markup languages. @text.underline ; underlined text @text.strike ; strikethrough text @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.math ; math environments (e.g. `$ ... $` in LaTeX) @text.environment ; text environments of markup languages 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) |
