1

I am trying to change the theme of the learnr tutorial document from the default "rstudio" to something else. I've looked at the cran documentation and it seems to imply that I can use any of the following visual themes ("rstudio", default", "cerulean", "journal", "flatly", "readable", "spacelab", "united", "cosmo", "lumen", "paper", "sandstone", "simplex", or "yeti"). This is what my YAML looks like

---
title: "The Negative Binomial Distribution"
output: learnr::tutorial
runtime: shiny_prerendered
---

To clarify, I want to change the entire outputted document (background color, font, ect.) not just one particular aspect of the document.

1 Answers1

1

I am not sure what exactly your question is, but if you want to apply one of the themes you simply add it like in the example below:

---
title: "The Negative Binomial Distribution"
output: 
   learnr::tutorial:
       theme: "united" 
runtime: shiny_prerendered
---
Dharman
  • 30,962
  • 25
  • 85
  • 135