summaryrefslogtreecommitdiff
path: root/runtime/queries/markdown/highlights.scm
diff options
context:
space:
mode:
authorMatthias Deiml2023-02-25 18:40:02 +0000
committerGitHub2023-02-25 18:40:02 +0000
commit0cbb61c3a45f605f685897027ec0dc606ec8bef5 (patch)
treedb0c62bd735aca1c6a4559bc9bfdc52ee21dc0dc /runtime/queries/markdown/highlights.scm
parent309735aa2d9516a734165ee066f2c9a080f9849a (diff)
Improve markdown highlights and add latex injection (#6100)
Diffstat (limited to 'runtime/queries/markdown/highlights.scm')
-rw-r--r--runtime/queries/markdown/highlights.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm
index 25f22ba7..80c9f958 100644
--- a/runtime/queries/markdown/highlights.scm
+++ b/runtime/queries/markdown/highlights.scm
@@ -39,7 +39,7 @@
(list_marker_parenthesis)
] @markup.list.numbered
-(thematic_break) @punctuation.delimiter
+(thematic_break) @punctuation.special
[
(block_continuation)
@@ -51,3 +51,9 @@
] @string.escape
(block_quote) @markup.quote
+
+(pipe_table_row
+ "|" @punctuation.special)
+(pipe_table_header
+ "|" @punctuation.special)
+(pipe_table_delimiter_row) @punctuation.special