/r-markdown

Soho vibes for R Markdown

Primary LanguageR

Rosé Pine for R Markdown

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

Usage

  1. Place style.css (and theme_rose_pine.R for ggplot2) into the same folder as your R markdown file.
  2. In your document header, include
output:
    html_document:
        css: "style.css"
  1. For ggplot2, add
source("theme_rose_pine.R")

There is also ggthemr_rose_pine.R for ggthemr users.

when adding libraries, then...

ggplot(data, aes(x = x, y = y)) +
theme_rose_pine() +
# ...

Edit theme_rose_pine.R in the marked comments to add a custom font.

Screenshot_2021-11-21-06-52-25_2560x1440

image

image

image

Thanks to