summaryrefslogtreecommitdiff
path: root/runtime/queries/typst/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/typst/highlights.scm')
-rw-r--r--runtime/queries/typst/highlights.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/queries/typst/highlights.scm b/runtime/queries/typst/highlights.scm
index b422e05b..0bbccede 100644
--- a/runtime/queries/typst/highlights.scm
+++ b/runtime/queries/typst/highlights.scm
@@ -55,7 +55,12 @@
; MARKUP
(item "-" @markup.list)
(term ["/" ":"] @markup.list)
-(heading ["=" "==" "===" "====" "====="] @markup.heading.marker) @markup.heading
+(heading "=" @markup.heading.marker) @markup.heading.1
+(heading "==" @markup.heading.marker) @markup.heading.2
+(heading "===" @markup.heading.marker) @markup.heading.3
+(heading "====" @markup.heading.marker) @markup.heading.4
+(heading "=====" @markup.heading.marker) @markup.heading.5
+(heading "======" @markup.heading.marker) @markup.heading.6
(url) @tag
(emph) @markup.italic
(strong) @markup.bold