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

Postprocessors: Make it possible to specify next or stack of postprocessors #35

Open
HenrikBengtsson opened this issue Jun 19, 2019 · 1 comment

Comments

@HenrikBengtsson
Copy link
Owner

Example:

html <- R.rsp::rfile("main.Rmd.rsp", postprocess = TRUE)  # default
html <- R.rsp::rfile("main.Rmd.rsp", postprocess = "knitr")  # which the default uses
html <- R.rsp::rfile("main.Rmd.rsp", postprocess = "Rmarkdown")

Right now the latter can be achieved manually by:

html <- rmarkdown::render(R.rsp::rfile("main.Rmd.rsp", postprocess = FALSE))
@HenrikBengtsson
Copy link
Owner Author

Another example is

html <- R.rsp::rfile("main.md.rsp", postprocess = TRUE)  # default
html <- R.rsp::rfile("main.md.rsp", postprocess = "markdown")  # same as the default
html <- R.rsp::rfile("main.md.rsp", postprocess = "commonmark")

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

No branches or pull requests

1 participant