DS4PS / datacamp-light-demo-for-rmd

A basic demonstration of the `tutorial` package to add DataCamp Light widgets to R Markdown files.
http://ds4ps.org/datacamp-light-demo-for-rmd/.
0 stars 0 forks source link

tutorial + distill article #1

Open mondpanther opened 3 years ago

mondpanther commented 3 years ago

I was trying to integrate datacamp light via tutorial into a distill article. (https://rstudio.github.io/distill/basics.html) This doesn't seem to work (nothing is displayed) whereas my code works find when I am using html_document as output.

Is there a way to make this work with distill?

Thanks R

lecy commented 3 years ago

I am not familiar with distill, so I can't speak to that platform.

The widget embeds javascript code into your rendered HTML document. I would check on some settings in distill to see if javascript is enabled.

Did you also include options like self_contained: false in your YAML header? Without seeing code it would be hard to guess what you are and are not doing that might impact output.