Trouble customizing numbered list

you could set a show rule on the whole enum:

#set enum(indent: 1.25cm, body-indent: 0.5em)

#show enum: it => {
  // for nested enums
  set enum(indent: it.indent + 1.25cm)
  show enum: it => parbreak() + it
  
  // display current enum
  for (count, child) in it.children.enumerate() {
    let number = if child.number != auto {child.number} else {count + 1}
    h(enum.indent)
    numbering(it.numbering, number)
    h(enum.body-indent)
    child.body
    parbreak()
  }
}

Also, when posting code snippets make sure to wrap them in ```<lang> triple backticks```. See:

1 Like