2021-05-23 22:59:25 +02:00

14 lines
280 B
XML

// Test the `pad` function.
---
// Use for indentation.
#pad(left: 10pt, [Indented!])
// All sides together.
#rect(fill: conifer,
pad(10pt, right: 20pt,
rect(width: 20pt, height: 20pt, fill: #eb5278)))
// Error: 14-24 missing argument: body
Hi #rect(pad(left: 10pt)) there