Closed jangorecki closed 7 years ago
I thought about it a while ago, and here is my first attempt (without using rmarkdown): https://github.com/yihui/knitr-jekyll It will certainly be nice if the posts are compiled through rmarkdown. I do not have time for that yet.
I'm using Nikola and Bitbucket sites, not Jekyll and Github Pages. My workflow is described at http://znmeb.bitbucket.org/stories/blogging-with-rstudio-and-nikola.html
+1
I believe https://github.com/ramnathv/poirot was heading in this direction as well.
Indeed. I believe rmarkdown could be linking to it in the docs. Closing
I'm curious as to why this issue was closed, since both of the above cited solutions (Poirot and Nikola) are static website generators, but not Jekyll – for that, there's only @yihui's great (early) work at https://github.com/yihui/knitr-jekyll.
I, for my part, would still love a feature inside (or well integrated with rmarkdown) to publish via Jekyll.
@maxheld83, good point. I didn't verify it is not for jekyll.
thanks @jangorecki – I have to admit I'm also still fuzzy about what a good Rmarkdown -> Jekyll workflow would look like, and whether/which functionality would even belong inside Rmarkdown. Curious what @yihui's plans for https://github.com/yihui/knitr-jekyll are ... btw, I think @hadley also must have solved part of this in bookdown.
@maxheld83 I do not have more plans for that repo. It is only an example of what you could do with the servr package. You are not restricted to Jekyll.
Github from the May 2016 will not support Rdiscount or Redcarpe markdown renderers. See 2100-github-pages-now-faster-and-simpler-with-jekyll-3-0. Additionally jekyll, the main engine of the static site rendering, allows to attach own renderers more easily, see custom-markdown-processors. View the link, maybe it isn't much work. It wouldn't be supported on github obviously but still can be useful for rendering static site in much more automatic way for documents produced by R. I would be happy to setup jekyll config for blogging from Rmd files :)
Please try blogdown: https://github.com/rstudio/blogdown It primarily supports Hugo, but you can use Jekyll and Hexo, too.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
I was wondering if anybody (maybe
rmarkdown
team) have already setup a flow of publishing from R to github pages, like:c("R","Rmd","md","jekyll","html","github pages")
and could share effective integration setup?My setup use
knitr::knit
instead ofrmarkdown
package to achieve compatibility with jekyll.What would be useful:
md_document(variant="markdown_github")
andmd_document(variant="markdown_strict")
was not very useful.Anyone could precisely tell what would be the pros and cons of moving to:
c("R","Rmd","html","jekyll","github pages")
We would avoid
md
tohtml
by jekyll so potentially also some it's useful functionality.My current setup, I assume not as bad, supports syntax highlighting, tags, rss for specific tags: jangorecki.github.io