I would like to use custom css in my learnr tutorial. This is how I placed my css.
The location of my rmd file: testing/testing.Rmd
The location of css file: testing/css/custom.css
---
title: "Hello, Tutorial!"
output:
learnr::tutorial:
css: css/custom.css
runtime: shiny_prerendered
---
```{r setup, include=FALSE}
library(learnr)
```
This code computes the answer to one plus one, change it so it computes two plus two:
```{r addition, exercise=TRUE}
1 + 1
```
and in my custom.css file, I have this
/******
dplyr learnr tutorial
*******/
/*-------- Code chunk header panel ---------*/
.panel-default > .panel-heading {
color: white;
background-color: darkslateblue;
border: 0;
}
When I press Run Document
, the output looks like this
So I have inspect the element, and I noticed that the custom.css is not set as priority
Any idea on this? MY current learnr package version is 0.10.1.