I've been working in RMarkdown to make some slide sets, and have discovered odd behavior with respect to nested lists and mixing of list types. The following short presentation only works for slide 2. Nested lists are no longer nested and mixing incremental ordered and unordered lists fails entirely. I've tried this with a few different presentation formats, and it actually fails differently for different output types, which was surprising.
Thoughts?
---
title: "Attempt"
output: revealjs::revealjs_presentation
---
## Nested Incremental Lists
> * This
> + kinda works (but is not nested)
## Incremental Ordered Lists
> 1. This
> 2. works
## Broken - Nested mixed lists
> 1. This
> + Does not work
Try inserting four leading spaces. From the documentation (emphasis mine):
The four-space rule
A list item may contain multiple paragraphs and other block-level content. However, subsequent paragraphs must be preceded by a blank line and indented four spaces or a tab. The list will look better if the first paragraph is aligned with the rest:
The inconsistency to do with number of tabs may be due to how many spaces are inserted by default by Rstudio.