rstudio / rmarkdown

Dynamic Documents for R
https://rmarkdown.rstudio.com
GNU General Public License v3.0
2.88k stars 979 forks source link

rmarkdown, jekyll, git pages #304

Closed jangorecki closed 7 years ago

jangorecki commented 10 years ago

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 of rmarkdown package to achieve compatibility with jekyll.

What would be useful:

My current setup, I assume not as bad, supports syntax highlighting, tags, rss for specific tags: jangorecki.github.io

yihui commented 10 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.

znmeb commented 10 years ago

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

maxheld83 commented 9 years ago

+1

znmeb commented 9 years ago

I believe https://github.com/ramnathv/poirot was heading in this direction as well.

jangorecki commented 9 years ago

Indeed. I believe rmarkdown could be linking to it in the docs. Closing

maxheld83 commented 9 years ago

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.

jangorecki commented 9 years ago

@maxheld83, good point. I didn't verify it is not for jekyll.

maxheld83 commented 9 years ago

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.

yihui commented 9 years ago

@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.

jangorecki commented 8 years ago

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 :)

yihui commented 7 years ago

Please try blogdown: https://github.com/rstudio/blogdown It primarily supports Hugo, but you can use Jekyll and Hexo, too.

github-actions[bot] commented 4 years ago

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.