Markdown themes
2023-06-26
Preamble
This snipped was contributed by Tomas
Different markdown themes
You need to install this package:
::install_github("gadenbuie/cleanrmd") # Different themes for RMarkdown reports: install cleanrmd package devtools
library(cleanrmd)
In the YAML header, set theme to NULL to see all available themes. It would look something like this:
title: "Markdown themes"
author: "Tomas Willems"
date: "2023-06-26"
output:
cleanrmd::html_document_clean:
theme: NULL
Once you decided on a theme, replace the “NULL” with that name
# Include images in RMarkdown script
knitr::include_graphics("mypicture.jpg")