reconhub/learn

visNetwork htmlwidget replaced with static image

thibautjombart opened this issue · 1 comments

For instance at:
https://reconlearn-ld.netlify.com/post/simulated-evd-early.html

after the command line plot(x, node_shape = "sex", shapes = c(male = "male", female = "female"), selector = FALSE) the plot should be a htmlwidget, not a png.

See https://reconlearn.netlify.com/post/simulated-evd-early/ for the corresponding version on the old site.

Possibly related, when trying to render the website after removing the md files from the content/post/:

output file: practical-ebola-response.knit.md

Error: Functions that produce HTML output found in document targeting markdown_github output.
Please change the output type of this document to HTML. Alternatively, you can allow
HTML output in non-HTML formats by adding this option to the YAML front-matter of
your rmarkdown file:

  always_allow_html: yes

Note however that the HTML output will not be visible in non-HTML formats.