wip more dioramas
This commit is contained in:
3
lib.typ
3
lib.typ
@@ -59,6 +59,5 @@
|
||||
if autoplay != auto { attrs.insert("autoplay", if (autoplay) { "" } else { "false" }) }
|
||||
if loop != auto { attrs.insert("loop", if (loop) { "" } else { "false" }) }
|
||||
if subticks != auto { attrs.insert("subticks", if (subticks) { "" } else { "false" }) }
|
||||
html.elem("mc-diorama", body, attrs: attrs)
|
||||
html.elem("mc-diorama", html.script(body, type: "text/mc-world"), attrs: attrs)
|
||||
}
|
||||
#let world(body) = html.script(body, type: "text/mc-world")
|
||||
|
||||
Reference in New Issue
Block a user