-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I need to set the table stroke using a function within the show rule with an anonymous function, but it doesn't seem to be working. The show-set rules, which don't take the function, and the set rules with a static stroke are working fine:
// OK
#show table: set table(stroke: 1pt + red)
// OK
#show table: set table(stroke: (x, y) => 1pt + red)
// OK
#show table: it => {
set table(stroke: 1pt + red)
it
}
// No effect
#show table: it => {
set table(stroke: (x, y) => 1pt + red)
it
}Reproduction URL
https://typst.app/project/rGeZxbARvWHZ7USiNCY8Sq
Operating system
Linux
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working