Skip to content

Commit

Permalink
Grab github CSS: the opening move
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Sep 9, 2024
1 parent a9985a2 commit cd1a508
Show file tree
Hide file tree
Showing 3 changed files with 2,225 additions and 0 deletions.
20 changes: 20 additions & 0 deletions data-raw/github_css.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# use the CSS found here:
# https://github.com/sindresorhus/github-markdown-css
# which aims to be:
# "The minimal amount of CSS to replicate the GitHub Markdown style"

library(usethis)

use_directory("inst/rmarkdown/templates/reprex_document/resources")

use_github_file(
repo_spec = "sindresorhus/github-markdown-css",
path = "github-markdown-dark.css",
save_as = "inst/rmarkdown/templates/reprex_document/resources/github-dark.css"
)

use_github_file(
repo_spec = "sindresorhus/github-markdown-css",
path = "github-markdown-light.css",
save_as = "inst/rmarkdown/templates/reprex_document/resources/github-light.css"
)
Loading

0 comments on commit cd1a508

Please sign in to comment.