diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 15:25:59 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 15:25:59 -0300 |
| commit | 8781cd9430a4d53ab6d605974892819ec47d84d7 (patch) | |
| tree | a5805f78f8599fb83f87279d121ece58e5dc63d5 /docs/typ/guide.typ | |
| parent | 449a75652d07a3df8254ee1b9fc0fa14e7a62643 (diff) | |
| download | pardes-8781cd9430a4d53ab6d605974892819ec47d84d7.tar.gz pardes-8781cd9430a4d53ab6d605974892819ec47d84d7.zip | |
A chapter can show a recording: #clip(name), used once for the chords in the guide's mouse section
#clip reads docs/site/media/clips.toml. On the site it is the landing's
video (poster, autoplay muted loop playsinline, controls) with its
caption, and the in-view script that plays it now runs on every page;
in the book it is the poster at 7 cm with the caption. The guide shows
the chords clip under its mouse table, in place of the TODO.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/guide.typ')
| -rw-r--r-- | docs/typ/guide.typ | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index 9149969a..cf1e758c 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -1,7 +1,7 @@ // The guide: pardes day to day, the path a newcomer reads once. Edge cases // live in the reference, the pager and the language servers in setup, the // keys on the cheatsheet. -#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, glossary, annotated +#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, glossary, annotated, clip Two clicks carry pardes: #word("Look") (right-click) opens `src/bar.c:12`, and #word("Exec") (middle-click) runs `make`. @@ -73,8 +73,7 @@ before #key("Ctrl-w") or #key("Alt-n"). [Super-click (Cmd)], [#btn("B3"); not in a terminal, which never passes Super], [Ctrl-click], [the language server's definition], ) -// TODO: embed the `chords` clip here on the site once it lands (needs a -// clip hook in style.typ). +#clip("chords") A program that takes the mouse gets the plain click. |
