Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle/ignore .Rmd files in _posts/ #7

Open
thibautjombart opened this issue Jan 5, 2018 · 1 comment
Open

Handle/ignore .Rmd files in _posts/ #7

thibautjombart opened this issue Jan 5, 2018 · 1 comment
Assignees

Comments

@thibautjombart
Copy link
Contributor

thibautjombart commented Jan 5, 2018

@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 thibautjombart changed the title Handle/ignore .Rmd files in posts Handle/ignore .Rmd files in _posts Jan 5, 2018
@thibautjombart thibautjombart changed the title Handle/ignore .Rmd files in _posts Handle/ignore .Rmd files in _posts/ Jan 5, 2018
@daattali
Copy link
Contributor

daattali commented Jan 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants