From 33aff90c560f277c12beae79726a85c8e16579df Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 6 Mar 2025 15:27:53 +0100 Subject: [PATCH] fix: render outlines with typst 0.13 --- src/pages/outline.typ | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/outline.typ b/src/pages/outline.typ index e650f21..09174e0 100644 --- a/src/pages/outline.typ +++ b/src/pages/outline.typ @@ -18,9 +18,12 @@ show outline.entry: it => { link(it.element.location())[ #v(12pt, weak: true) - #text(weight: "regular", it.body) + #it.prefix() + #[:] + #h(0.5em) + #text(weight: "regular", it.body()) #box(width: 1fr, it.fill) - #[ #it.page] + #[ #it.page()] ] }