#Reduce the spacing of list items

10 messages · Page 1 of 1 (latest)

strong fern
#

Given a simple list, how can I reduce the spacing?
list:

  • a
  • b
  • c
haughty trench
#

you can add a newline between list items to disable tight lists

#

which come with predefined spacing

#

and then you can use #set list(spacing: custom_value_here)

#

e.g. 0.5em, 5pt, ...

strong fern
#

Ooh, thanks!
Why does it only work with the newline?
Why not:

#set list(tight: false, spacing: .5em)

list:
- a
- b
- c
haughty trench
#

it's like writing #list(tight: true, [a], [b], [c])

#

you dont want a set rule to override that

#

it's admittedly not very explicit though