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

Multiple formats for pandoc #547

Closed
jeroen opened this issue Jun 3, 2013 · 5 comments
Closed

Multiple formats for pandoc #547

jeroen opened this issue Jun 3, 2013 · 5 comments
Labels
feature Feature requests
Milestone

Comments

@jeroen
Copy link

jeroen commented Jun 3, 2013

Perhaps it would be useful to allow a vector of formats for the format parameter for pandoc()? Such that

pandoc("somefile.md", format=c("html", "docx", "odt"))

Will automatically call pandoc 3 times?

@yihui
Copy link
Owner

yihui commented Jun 7, 2013

perhaps mapply(pandoc, format = c("html", "docx", "odt"))?

@jeroen
Copy link
Author

jeroen commented Jun 19, 2013

Yes that would be great if that was the default behavior when length(format) > 1

@yihui
Copy link
Owner

yihui commented Jun 20, 2013

I agree with you. I thought about this for a while when I wrote this function, but did not do it for a reason that I do not remember now... I will think about it again.

@yihui yihui closed this as completed in 85cec99 Jul 5, 2013
@yihui
Copy link
Owner

yihui commented Jul 5, 2013

Done.

yihui added a commit to yihui/knitr-examples that referenced this issue Jul 11, 2013
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature requests
Projects
None yet
Development

No branches or pull requests

2 participants