Closed pat-s closed 4 years ago
Yeah that makes sense. It was intended to be called in conjunction with the style functions that would overwrite the main CSS file and then write_extra_css()
would append to that. I can easily make append
a parameter.
I'm curious, though. Do you mind sharing the slides where you used write_css_extra()
? I'd love to see how you're using it.
The source Rmd is here.
It was intended to be called in conjunction with the style functions that would overwrite the main CSS file and then write_extra_css() would append to that.
As you can see I prefer writing to an external file. I call the whole chunk including the xaringanthemer
functions by hand after I made changes to it.
The "main" CSS file is overwritten each time while the external extra.css
is appended.
(PS: Thanks for this awesome pkg. After taking a detailed look into your drake slides I moved my xaringan
game to a whole new level.)
If not by default, at least as an option :) Just saw that my created CSS file is Inf long :open_mouth: