mirror of
https://github.com/typst/typst
synced 2025-05-19 03:25:27 +08:00
Use term "set-if rule"
This commit is contained in:
parent
ae89b51389
commit
5e08adafba
@ -50,7 +50,7 @@ Scopes give rise to a common pitfall when you want to apply rules conditionally.
|
||||
// original behavior restored
|
||||
```
|
||||
|
||||
You must use a postfix conditional instead
|
||||
You must use the "set-if rule" instead
|
||||
|
||||
```typ
|
||||
#set text(size: 11pt) if some-condition()
|
||||
|
Loading…
x
Reference in New Issue
Block a user