How to make first line indent for list

I want to use list with empty marker to simulate compact content, but find that the first line indention is lost, how to fix it? Thanks!

#set par(first-line-indent: (amount: 2em, all: true), leading: 2em)

#set list(marker: [], indent: 0em, body-indent: 0em, spacing: 1em)

#show list.item: it => {
  set par(leading: 1em)
  set par(first-line-indent: (amount: 2em, all: true))
  it
}

normal par1, #lorem(20)

normal par2, #lorem(20)

- tight content1, #lorem(20)
- tight content2, #lorem(20)

Replace it with it.body:

#show list.item: it => {
  set par(leading: 1em)
  set par(first-line-indent: (amount: 2em, all: true))
  it.body
}
1 Like