I'm trying to embed xaringan slides in my blogdown/hugo-academic blog, which I created today with current package versions.
I followed the instructions here and the html file in the static/slides/myslides directory is absolutely fine, because it has all its dependencies. However, when it and its dependencies are copied to the public/slides directory during the build_site() process, the myslides-files directory is missed out, so all my lovely ggplots are missing. This is also one of the files that gets cleaned up by rmarkdown::clean_site(), so even if it was not a horrible kludge, manually copying it over isn't a good idea. Have I missed a trick here?
Hi YiHui
I'm trying to embed xaringan slides in my blogdown/hugo-academic blog, which I created today with current package versions. I followed the instructions here and the html file in the static/slides/myslides directory is absolutely fine, because it has all its dependencies. However, when it and its dependencies are copied to the public/slides directory during the build_site() process, the myslides-files directory is missed out, so all my lovely ggplots are missing. This is also one of the files that gets cleaned up by rmarkdown::clean_site(), so even if it was not a horrible kludge, manually copying it over isn't a good idea. Have I missed a trick here?
Susannah