-
-
Notifications
You must be signed in to change notification settings - Fork 981
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
Drop the intermediate files *.knit.md and *.utf8.md #2086
Comments
For now, I opened a draft PR for some more test by only removing the |
For I guess we can either keep |
I am not quite sure why it will fix the issue for bookdown. Knitting the Rmd will still produce a I may have missed why this is an issue for bookdown because the file would still be there but with a different name. Can you (re)explain please? The options mechanism you suggest would allow to modify behavior for different package. |
You are right about bookdown. The intermediate Let's keep |
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. |
In rmarkdown, we used to generate the intermediate file
*.knit.md
fromknitr::knit()
, and convert it to another intermediate file*.utf8.md
. Then pass the utf8 file to Pandoc (because Pandoc only accepts UTF-8 input).Since knitr 1.24,
knitr::knit()
only accepts UTF-8 input. Since rmarkdown 2.0, functions in rmarkdown also only accept UTF-8. It makes little sense to generate these two intermediate files now (e.g. d8fbf4c makes an unnecessary file copy), and I suggest that we stop generating them in a future version.Additional benefits:
The text was updated successfully, but these errors were encountered: