Skip to content

Commit

Permalink
Change bin/chunk-options.R to use .language-r instead of r
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed Nov 16, 2017
1 parent 78d3716 commit 1b10e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/chunk-options.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ opts_chunk$set(tidy = FALSE, results = "markup", comment = NA,
hook_in <- function(x, options) {
stringr::str_c("\n\n~~~\n",
paste0(x, collapse="\n"),
"\n~~~\n{: .r}\n\n")
"\n~~~\n{: .language-r}\n\n")
}

hook_out <- function(x, options) {
Expand Down

0 comments on commit 1b10e59

Please sign in to comment.