diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 00:04:08 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:18 -0300 |
| commit | 9ad4d38746dfacdf4921949e1c8bd050a0817cc7 (patch) | |
| tree | 153e7027798713ccdc27cb08c656213f871c5acd /docs/typ/book.typ | |
| parent | 06770c54a408057c92c0381b75039d70c85625d6 (diff) | |
| download | pardes-9ad4d38746dfacdf4921949e1c8bd050a0817cc7.tar.gz pardes-9ad4d38746dfacdf4921949e1c8bd050a0817cc7.zip | |
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 <[email protected]>
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) |
