I would like to color different words in xaringan slides using CSS.
I made a file called stuff.css that contains this:
.red {
color: red;
}
And my rmarkdown file has this:
---
title: "test"
output:
xaringan::moon_reader:
css: ["stuff.css"]
lib_dir: libs
---
blah .red[<command]
blah .red[command>]
blah .red[<command>]
The first two lines display as I expect (with the text inside of the [ ] in red) but the third one only shows blah. Why is this happening? How can I get the third line to display blah followed by the word command in angle braces?
