add: comment to figure.typ prepend
This commit is contained in:
parent
03d3a31d71
commit
e96b613f43
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue