diff options
Diffstat (limited to 'runtime/queries')
-rw-r--r-- | runtime/queries/markdown.inline/injections.scm | 2 | ||||
-rw-r--r-- | runtime/queries/markdown/highlights.scm | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/runtime/queries/markdown.inline/injections.scm b/runtime/queries/markdown.inline/injections.scm index 2dd149d9..c2e7012c 100644 --- a/runtime/queries/markdown.inline/injections.scm +++ b/runtime/queries/markdown.inline/injections.scm @@ -1,2 +1,4 @@ ((html_tag) @injection.content (#set! injection.language "html") (#set! injection.include-unnamed-children)) + +((latex_block) @injection.content (#set! injection.language "latex") (#set! injection.include-unnamed-children)) 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 |