From f9df9d55d78e6a6402ff04f5010a41957f30c75b Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Sun, 14 Jun 2020 22:02:59 +0200 Subject: [PATCH] queries(markdown): add simple highlight query --- queries/markdown/highlights.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 queries/markdown/highlights.scm diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm new file mode 100644 index 000000000..ce7585351 --- /dev/null +++ b/queries/markdown/highlights.scm @@ -0,0 +1,9 @@ +;; MarkDown highlighting +(atx_heading) @Constant +(link_text) @String +(link_destination) @Type +(emphasis) @Special +(strong_emphasis) @SpecialComment + +(fenced_code_block (info_string) @Type (code_fence_content) @Ignore) @Function +(code_span (text) @Ignore ) @Function