Rendering of `.Rmd` Blog Slide Posts

I use blogdownto create a static website from a series of messages stored as files Rmd. For some of them, I would like the message to display as ioslides, for example:

---
title: "Habits"
author: John Doe
date: March 22, 2005
output: ioslides_presentation
---

# In the morning

## Getting up

- Turn off alarm
- Get out of bed

## Breakfast

- Eat eggs
- Drink coffee

rmardown::render()creates slides as best as possible from the file above, but when using it as a message and launch, the blogdown::serve_site()output is displayed as a "regular" html article (not slides).

Any idea if this can be done, and if so, how? Best thibault

+4
source share
1 answer

This use case is documented in the second half of Section 2.7 of the blogdown book . Basically, you should

  • Rmd static/;

  • script R/build.R.

+2

Source: https://habr.com/ru/post/1688538/


All Articles