Closed ChuliangXiao closed 6 years ago
Could you share your slide code where .pull-left[]
and .pull-right[]
aren't working?
I tried to reproduce the issue using the below .Rmd
and everything rendered okay.
---
output:
xaringan::moon_reader:
lib_dir: libs
css: xaringan-themer.css
seal: FALSE
---
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE)
library(xaringanthemer)
mono_accent(
base_color = "#175dac",
text_font_size = "24px",
text_font_google = google_font("Fira Sans"),
header_font_google = google_font("Quicksand")
)
.pull-left[ left side ]
.pull-right[ right side ]
![image](https://user-images.githubusercontent.com/5420529/40033353-14c73c1c-57c6-11e8-8545-7da139ec3189.png)
I think I forgot to load library(xaringanthemer)
in the code (though it was loaded in the Console) after adding css: xaringan-themer.css
to the header. Thank you very much.
With
css: xaringan-themer.css
in the header,.pull-right
and.pull-left
don't work to divide a slide into two columns.