I'm new in this fabulous Xaringan's world, so sorry if my question is too simple. I've found this question about changing the bullet point colors and I tried to replicate it.
I've created the custom.css
file and stored it in remark-css folder but, every time I run the .rmd
, the custom.css
file disappears and I don't get the expected results, what am I doing wrong?
I was able to replicate as follows. New to R so had to do some setup.
In R Studio (testing.rmd)
testing.rmd
---
title: "Hello World"
subtitle: "testing"
author: "Hassan Voyeau"
institute: "TTR"
date: "19/9/2019 (updated: `r Sys.Date()`)"
output:
xaringan::moon_reader:
css: ["default", "custom.css"]
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
HELLO WORLD
* Item 1
* Item 2
custom.css (in the same folder as testing.rmd)
ul {
list-style: none;
}
ul li::before {
content: "\2022";
color: red;
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}
And the results