Xaringan Slide Separator Not Separating Slides

xaringan slide separator not separating slides

Looks like you've got an unintended space after the new slide separator after blank content as "--- ". Remove that space and it'll be recognized as real slide separator:

---
title: "map test"
output:
xaringan::moon_reader:
css: ["default"]
nature:
highlightLines: true
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## blank page

content

---

leaflet page

```{r}
library(leaflet)
leaflet() %>%
addTiles()

```

---

incremental slides in xaringan package fails in long list

Found the bug. The problem is linked with the trailing white spaces following the two dash (use -- instead of --_). Removing the solve my problem.

It's quite sensitive...

knitr::include_graphics() disables slide break operator (---) in xaringan

The problem is a that xaringan is very picky about what page breaks look like. In the example above, there is a whitespace after the second --- which is causing the problem. Removing he whitespace will fix the error.

Incremental does not work with $$ in xaringan

Incremental slide is not working in your case, that's because you have used a space after the two dash sign --. It's not related to $$ sign.

Remove any space after -- sign, then incremental slide will work.


This is actually a common error people face while working with xaringan incremental slides. See this related answer on SO and this appreciation post from Yihui Xie (author of xaringan) about that answer, Yue Jiang: A Ninja with Sharingan

Xaringan interrupts numbering of numbered list across slides

Mr. Paul, hello :)

You should remove a redundant tag <ol>, when using <ol start = "3">

Code:

---
## slide 3

<ol>
<li> Sed ut perspiciatis unde omnis iste natus error...
<li> Nemo enim ipsam voluptatem quia voluptas sit...
</ol>

---
## slide 4

<ol start="3">

<li> Sed ut perspiciatis unde omnis iste natus error...
<li> Nemo enim ipsam voluptatem quia voluptas sit...
</ol>

Output:

Sample Image

An addition:

## slide 4

<ol start="3">
3. Sed ut perspiciatis unde omnis iste natus error... <br>
<p style="margin-left: 25px;"> ○(or ◦) sub-item </p>
4. Nemo enim ipsam voluptatem quia voluptas sit...
</ol>


Related Topics



Leave a reply



Submit