Skip to content

Commit

Permalink
fix(style): add context around counter.display src/style.typ:187:23…
Browse files Browse the repository at this point in the history
… due to "`counter.display` without context is deprecated"
  • Loading branch information
Servostar committed Nov 20, 2024
1 parent f3ebfaf commit ddfec22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.typ
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
show figure.caption: c => [
#if c.body.fields().len() > 0 {
text(weight: "medium")[
#c.supplement #c.counter.display("1.1.1")
#c.supplement #context c.counter.display("1.1.1")
]
c.separator
}
Expand Down

0 comments on commit ddfec22

Please sign in to comment.