summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-19 10:29:08 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-19 10:29:08 +0200
commit65c4ee42e7f30c894a9795a26de837afe9beb56b (patch)
tree8a296a34218c00c2ffa5a5b7954cf9bb5f712b7c /src
parentb98004330bf3ef372a0f0ef5c7daf1f96fd7873a (diff)
Underline only Typst headings in code blocks
Diffstat (limited to 'src')
-rw-r--r--src/library/text/raw.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/text/raw.rs b/src/library/text/raw.rs
index a09d791d..a2a57fa1 100644
--- a/src/library/text/raw.rs
+++ b/src/library/text/raw.rs
@@ -165,7 +165,8 @@ pub static THEME: Lazy<Theme> = 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),