atusy
atusy
The former sounds easier to implement. The efficiency might be negligible because generating native is a rare case.
Your welcome. I drafted a PR #1727. Currently, `keep_native` works with `html_document` and `pdf_document` only.
If you want to fold languages not on the list, add `foldable` class. ```` ```{sh, class.source = "foldable"} echo foo ``` ```` This is done by https://github.com/rstudio/rmarkdown/pull/1835
BTW, I recommend open a new issue when the topic does not match exactly. By doing so, you will also see an issue guide that suggests you ask questions on...
Oops, my typo. Thanks @cderv
Two comments: - Speed is my concern too because bookdown already runs pandoc twice for resolving cross reference. I'm not sure if the third one is acceptable. - What is...
I agree with yihui.
The recommendation is to finish the content with the HTML output, and then work on PDF-specific minor revisions the PDF output. I think the PDF-specific minor revisions may include math...
maybe preprocess and postprocess are not good names... :thinking:
I got to fix tests