Why 'where(block: true)' doesn't work with 'set block'?

#show quote: set block(above: 2em, below: 2em)

#lorem(25)

#quote[
  inline quote
]

#lorem(25)

#quote(block: true)[
  block quote
]

#lorem(25)

How can make it work for block quotes only? I tried to replace quote with quote.where(block: true), but thid didn’t help.

#show quote.where(block: true): set block(above: 2em, below: 2em)

I also tried to replace above: 2em, below: 2em with spacing: 2em, but this didn’t help either.

It works for me using v0.11.1:

#show quote.where(block: true): set block(spacing: 5em)
// #show quote.where(block: true): block.with(spacing: 5em)
// #show quote.where(block: true): set block(above: 5em, below: 5em)

#lorem(25)

#quote[
  inline quote
]

#lorem(25)

#quote(block: true)[
  block quote
]

#lorem(25)

But there is a small caveat: To make a block quote with a border on the left side, like on GitHub - #4 by SillyFreak.

1 Like

Backlink to a related question: How can I remove extra padding above and below block quotations?