Connect `where`-clauses with `or`

It may be a trivial question, but I have no clue on how to connect several where-selectors with or. I have the following show-rule

#show outline.entry.where(level: 2): it => {

and would like to apply it not only to level: 2, but also to level: 3. I’ve tried different variations with or., but non of them worked.

1 Like

You have to basically re-specify the full element, like so:

#show outline.entry.where(level: 2).or(outline.entry.where(level: 3)): ...
3 Likes

Ah thanks, indeed, that does the trick :slight_smile: