Open JiaxiangBU opened 5 years ago
I haven't yet migrated to blogdown, but it's probably similar. You need to do facet_trelliscope(..., path = "some_relative_path")
. Another alternative is to publish your display somewhere (github pages, netlify, etc.) and then stick it in an iframe in your post.
Hi @hafen , Thank you for your sugguestion, it works for me, and I will show the solution here.
static
blogdown:::serve_site()
, deploy it and you can access at youweburl/yourtrelliscopefilespath
.Reference
Mastny, Tim. 2018. “Embed Slides in Your Blog.” https://timmastny.rbind.io/blog/embed-slides-knitr-blogdown/.
Xie, Yihui. 2018. “Adding R Markdown Documents of Other Output Formats.” https://blogdown-demo.rbind.io/2017/09/06/adding-r-markdown-documents-of-other-output-formats/.
I try to post a blog with
trelliscopejs
staff using yihuiblogdown
package. But I get this error.Created on 2018-10-20 by the reprex package (v0.2.0).
I find
trelliscopejs
works in one Ryan Hafen‘s blog.