I followed the advice in the blogdown
book, put my .Rmd
file in the static
directory and used R/build.R
to render a slidy presentation. I'm wondering how I can now link or publish the html
file in a blog post?
Asked
Active
Viewed 232 times
1

monarque13
- 568
- 3
- 6
- 27
1 Answers
1
For a file static/foo/bar.html
, its URL will be /foo/bar.html
, as I have mentioned in the very first paragraph in Section 2.7 (which you said you had read).
You can also study the Markdown source documents of the example I mentioned in Section 2.7: https://github.com/yihui/blogdown-static
Note that you cannot publish these HTML files as blog posts. You can only link to them in the body of your blog posts.

Yihui Xie
- 28,913
- 23
- 193
- 419
-
Thanks, Yihui. I was leaving the forward slash out by mistake. – monarque13 Jan 21 '18 at 16:10