An open API service indexing awesome lists of open source software.

https://github.com/rose-pine/r-markdown

Soho vibes for R Markdown
https://github.com/rose-pine/r-markdown

theme

Last synced: 9 months ago
JSON representation

Soho vibes for R Markdown

Awesome Lists containing this project

README

          



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
```md
output:
html_document:
css: "style.css"
```
3. For ggplot2, add
```r
source("theme_rose_pine.R")
```
> There is also `ggthemr_rose_pine.R` for ggthemr users.

when adding libraries, then...
```r
ggplot(data, aes(x = x, y = y)) +
theme_rose_pine() +
# ...
```

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

## Gallery

![Screenshot_2021-11-21-06-52-25_2560x1440](https://user-images.githubusercontent.com/44733677/142794120-195232cc-4ee8-44c9-af18-4ec643c46649.png)

![image](https://user-images.githubusercontent.com/44733677/144792336-e8fd4a3f-8fad-445a-afca-c5a58f0e7c47.png)

![image](https://user-images.githubusercontent.com/44733677/144792393-bb87e0f3-afe8-488a-9b2a-91fdfb60b4ea.png)

![image](https://user-images.githubusercontent.com/44733677/144792417-7460cef9-a558-4dcf-9141-d880d2e23884.png)

## Thanks to

- [ThatOneCalculator](https://t1c.dev)