diff options
Diffstat (limited to 'docs/typ/book.typ')
| -rw-r--r-- | docs/typ/book.typ | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/typ/book.typ b/docs/typ/book.typ index 803a65e2..a89b52cc 100644 --- a/docs/typ/book.typ +++ b/docs/typ/book.typ @@ -13,6 +13,9 @@ #show heading.where(level: 2): set block(above: 2em, below: 0.9em) #show heading.where(level: 3): set block(above: 1.5em, below: 0.7em) #show raw: set text(font: mono, size: 0.9em) +#show raw.where(block: true): it => block( + width: 100%, fill: palette.tag-bg.transparentize(50%), radius: 2pt, + inset: (x: 6pt, y: 5pt), above: 0.9em, below: 0.9em, it) #show heading: set text(fill: palette.tag-name) #show heading.where(level: 1): it => { pagebreak(weak: true) |
