Skip to content

Commit

Permalink
Update chakra default argument in moon_reader
Browse files Browse the repository at this point in the history
To revert temporarily back to the old version of remark.js (prior to 0.15.0) in order to fix issue #245 

If we decide to go forward with this PR I suggest putting in a milestone so we remember to update the reference such that it points to the most recent version of remark.js once that has stabilized again with the new maintainer.
  • Loading branch information
ekstroem authored Jan 22, 2020
1 parent ea2698e commit ad76031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#' # rmarkdown::render('foo.Rmd', 'xaringan::moon_reader')
moon_reader = function(
css = c('default', 'default-fonts'), self_contained = FALSE, seal = TRUE, yolo = FALSE,
chakra = 'https://remarkjs.com/downloads/remark-latest.min.js', nature = list(),
chakra = 'https://cdnjs.cloudflare.com/ajax/libs/remark/0.14.0/remark.min.js', nature = list(),
...
) {
theme = grep('[.]css$', css, value = TRUE, invert = TRUE)
Expand Down

0 comments on commit ad76031

Please sign in to comment.