I need to link my R Markdown to a css file. If the css file is in the same directory as the .Rmd file, it works without problems. If the css is in a different directory, it does not work.
How do I include a file path in the css field of my YAML?
This does not work
---
title: "MY TITLE"
author: "MY NAME"
output:
xaringan::moon_reader:
lib_dir: libs
css: path/to/xaringan_themer.css
nature:
highlightStyle: tomorrow-night-bright
highlightLines: true
countIncrementalSlides: false
titleSlideClass: ["center","top"]
---