fix: render outlines with typst 0.13

This commit is contained in:
Sven Vogel 2025-03-06 15:27:53 +01:00
parent 55b58e2699
commit 33aff90c56
1 changed files with 5 additions and 2 deletions

View File

@ -18,9 +18,12 @@
show outline.entry: it => { show outline.entry: it => {
link(it.element.location())[ link(it.element.location())[
#v(12pt, weak: true) #v(12pt, weak: true)
#text(weight: "regular", it.body) #it.prefix()
#[:]
#h(0.5em)
#text(weight: "regular", it.body())
#box(width: 1fr, it.fill) #box(width: 1fr, it.fill)
#[ #it.page] #[ #it.page()]
] ]
} }