From 60cb6860eaff8a70fc07a9406f2f43a9a97e33a1 Mon Sep 17 00:00:00 2001 From: Iron-E Date: Fri, 19 Jan 2024 23:14:57 -0500 Subject: [PATCH] ref(markdown_inline): improve bracket usage consistency --- after/queries/markdown_inline/highlights.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/after/queries/markdown_inline/highlights.scm b/after/queries/markdown_inline/highlights.scm index 0579d17..f51988e 100644 --- a/after/queries/markdown_inline/highlights.scm +++ b/after/queries/markdown_inline/highlights.scm @@ -1,3 +1,13 @@ ;; extends +; punctuation (inline_link ["[" "]" "(" ")"] @punctuation.bracket) +(image + "!" @punctuation.special + ["[" "]" "(" ")"] @punctuation.bracket +) + +[ + (code_span_delimiter) + (emphasis_delimiter) +] @markup.environment