How to create a nested list using the plain 'enum' or 'list' function?

In the desired output, the sublist is part of the second item, so you need to build it so:

#enum(
  numbering: "1.a)",
  enum.item[aa],
  enum.item([bb] + enum(
    numbering: "1.a)",
    enum.item[xx],
    enum.item[yy]
  )),
)
1 Like