From e96b613f4350960fc03d80cbbdbad02a0be9b71c Mon Sep 17 00:00:00 2001 From: agryphus Date: Wed, 29 Apr 2026 00:39:19 -0400 Subject: [PATCH] add: comment to figure.typ prepend --- prepends/figure.typ | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepends/figure.typ b/prepends/figure.typ index c053398..73ec4c8 100644 --- a/prepends/figure.typ +++ b/prepends/figure.typ @@ -1,3 +1,7 @@ +// Given a figure with an image, this show rule will wrap the image in a link +// that goes to the full version of the pic. For example, image("bird.jpg") +// will get wrapped in a #link("bird_full.jpg"). This, of course, assumes +// bird_full.jpg also exists in the directory. #show figure: it => { if it.body.func() == image { let src = it.body.source