How to add indent to a list only if it's not a sublist?

I think the following does what you want:

#set list(indent: 0.4cm)
#show list: it => {
  set list(indent: 0pt)
  it
}
3 Likes