nested ordered lists in rmarkdown

Viewed 1077

I have observed a strange in nested ordered lists while using rmarkdown.

From here, the order of the numbers is ignored in the main list of items. Both of the below set produce the same output.

#set 1:
1.  one
2.  two
3.  three

#set 2:
5.  one
7.  two
1.  three

However, it is not the case in nested list of items.

#set 3:
1.  one
    5.  one
    7.  two
    1.  three
2.  two
3.  three

How to achieve automatic ordering of nested list of items in rmarkdown?

1 Answers
Related