Continue an indented numbered list after R chunk in Quarto document

I am writing a numbered list with sub-points in Quarto, where some of my sub-points include an R chunk. For example:

  1. Point 1
    i) Sub-point 1

    ii) Sub-point 2 with some R code

# Here is my code 
iii) Sub-point 3

When I render this to pdf, bullet iii) is in courier new font, no longer indented, and, if the text is long enough, runs off the page. Is it possible to continue an indented numbered list after a code chunk in Quarto?