From 65c4ee42e7f30c894a9795a26de837afe9beb56b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 19 Sep 2022 10:29:08 +0200 Subject: [PATCH] Underline only Typst headings in code blocks --- src/library/text/raw.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/text/raw.rs b/src/library/text/raw.rs index a09d791d5..a2a57fa1d 100644 --- a/src/library/text/raw.rs +++ b/src/library/text/raw.rs @@ -165,7 +165,8 @@ pub static THEME: Lazy = Lazy::new(|| Theme { scopes: vec![ item("markup.bold", None, Some(FontStyle::BOLD)), item("markup.italic", None, Some(FontStyle::ITALIC)), - item("markup.heading, entity.name.section", None, Some(FontStyle::BOLD | FontStyle::UNDERLINE)), + item("markup.heading, entity.name.section", None, Some(FontStyle::BOLD)), + item("markup.heading.typst", None, Some(FontStyle::BOLD | FontStyle::UNDERLINE)), item("markup.raw", Some("#818181"), None), item("markup.list", Some("#8b41b1"), None), item("comment", Some("#8a8a8a"), None),