typst-bytefield
typst-bytefield copied to clipboard
Passthrough length & color arguments to text and box
Small usage improvement. Every field represents some text at the end and afaik fields do not use length or color arguments. instead of
bytes(3)[
#box(width:100%,height:100%,fill:green)[
#text(8pt)[
my bytes
]
]
]
passthrough length arguments to text and color arguments as box fill
bytes(3,8pt,green)[my bytes]