flair
Give your code some pizzaz
By Kelly Bodwin in R package r4edu
January 25, 2021
Co-authors: Hunter Glanz
flair is a package for adding highlighting and annotation to the source code chunks produced by R Markdown.
About
The goal of flair
is to give users an easy and reproducible way to change
the colors and highlighting in source code chunks. For example,
iris %>%
group_by(Species) %>%
summarize(mean(Sepal.Length))
#> # A tibble: 3 x 2
#> Species `mean(Sepal.Length)`
#> <fct> <dbl>
#> 1 setosa 5.01
#> 2 versicolor 5.94
#> 3 virginica 6.59
Learn More
-
Watch my UseR 2020 talk or just check out the slides
-
Read my RStudio Education Blog Post
-
Contribute to the development of the package