reconhub.github.io icon indicating copy to clipboard operation
reconhub.github.io copied to clipboard

Handle/ignore .Rmd files in _posts/

Open thibautjombart opened this issue 8 years ago • 1 comments

@daattali when adding 2018-01-01-foo-bar.Rmd to _posts/ and then compiling it, both 2018-01-01-foo-bar.Rmd and 2018-01-01-foo-bar.md are included as posts. Is there a simple way to ignore the .Rmd files when generating posts?

thibautjombart avatar Jan 05 '18 11:01 thibautjombart

I haven't done that myself, but I have seen others publish a lot of Rmd using Jekyll. I never saw anything sophisticated, everything I've seen involved manually converting Rmd to md and only placing the md in the _posts/ directory. The source was kept elsewhere. There seems to be a knitr-jekyll R package that may have tools to better work with this, and I found this blog post as well but only skimmed it

daattali avatar Jan 05 '18 19:01 daattali