chore!: bump to 0.1.1

refactor: break up into multiple files
feat: csl style
refactor!: rename variables
Update template, readme, and more
This commit is contained in:
2026-02-06 00:28:12 +02:00
parent 549d7f060f
commit cee212ae0a
19 changed files with 1256 additions and 67 deletions
+7
View File
@@ -0,0 +1,7 @@
#import "@local/nure:0.1.1": utils
/// captioned image with auto-generated label from path
/// Usage: img("path/to/image.png", "Caption")(optional: "source")
#let img(path, caption, ..sink) = {
let source = sink.pos().at(0, default: ())
[ #figure(image(path, ..sink.named()), caption: utils.img-caption(caption, source)) #utils.img-label(path) ]
}