1

In the following code, I should see 2 slides, the first slide should have title List of items and the second slide should start at Second heading. But I only see one slide after the first page. Where do I misunderstand?

---
title: Issue in setting slide level
date: December 3, 2019
output:
  slidy_presentation:
    slide_level: 2
---

# List of items.

 - One
 - Two
 - Three

## Second Heading

### Third Heading

I got it working using this :

---
title: "Issue in setting slide level"
date: "December 9, 2019"
output:
  slidy_presentation:
    pandoc_args:
      - --slide-level
      - 2
---

Can someone confirm if slide_level argument is not supported for slidy slideshows?

4

1 回答 1

0

This is because slide_level was not an argument of rmarkdown::slidy_presentation. I just added it to the development version of rmarkdown. You may try it with

remotes::install_github('rstudio/rmarkdown')
于 2019-12-19T23:34:32.167 回答