From 9ad4d38746dfacdf4921949e1c8bd050a0817cc7 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 00:04:08 -0300 Subject: The book and the HTML gain "Setting up your environment" after the guide chapters lists setup.typ second and #doc takes a setup id. Shell lines (#cmd) follow the density too: roomy in the book and the HTML, with a tint and space around them, tight on the A4 sheet; the book sets code blocks on the same tint. Co-Authored-By: Claude Opus 5.5 --- docs/typ/book.typ | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/typ/book.typ') 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) -- cgit v1.3