Skip to content

Commit d61c7ef

Browse files
authored
fix: update typst template to use 'box' instead of 'block' for styling (#44)
1 parent 6dba6bf commit d61c7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/shared.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
set page(paper: "a4", numbering: "1", number-align: center)
88
set text(font: fonts.serif, lang: "zh", size: 11pt)
99

10-
show raw.where(block: true): block.with(fill: luma(240), inset: (x: 1.25em, y: 1em), width: 100%, radius: 4pt)
10+
show raw.where(block: true): box.with(fill: luma(240), inset: (x: 1.25em, y: 1em), width: 100%, radius: 4pt)
1111

1212
show raw.where(block: true): par.with(first-line-indent: 0em, justify: true, leading: 8pt)
1313

0 commit comments

Comments
 (0)