tidyverse / reprex

Render bits of R code for sharing, e.g., on GitHub or StackOverflow.

Home Page:https://reprex.tidyverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support GitHub light/dark themes

davidchall opened this issue Β· comments

GitHub today announced the beta feature to display 1 of 2 uploaded images based on theme context.

This is a really cool feature and I immediately thought of reprex! πŸ˜„ I'm thinking reprex could render ggplot diagrams with light and dark themes and upload both images with this new syntax.

Not at all urgent of course - I just thought this was a neat idea.

I don't see a particularly appealing way to work this idea into the existing, pretty minimalistic reprex workflow. I'm glad to have learned about it, though, and will file it away as something to think about in case circumstances change.