Add option to preserve intermediate .md file
khughitt opened this issue · comments
There is probably already a way to do this but I have not been able to figure one out yet...
Would it be possible to add an option to preserve the intermediate markdown file when generating a HTML?
There is an option in the rmarkdown package but I don't pass it along,
thanks for reporting the issue I will add this soon.
On Mon, May 19, 2014 at 11:59 AM, Keith Hughitt notifications@github.comwrote:
There is probably already a way to do this but I have not been able to
figure one out yet...Would it be possible to add an option to preserve the intermediate
markdown file when generating a HTML?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/50
.
I added a clean_supporting option, however I think the intermediate markdown is still not kept, only the figures are kept. I think this is actually a limitation in the rmarkdown package, so in order to get this working we would need to add the option there first.
@jimhester Thanks for looking into this. I will check the rmarkdown maintainers to see if that is possible or can be made an option. I will keep this issue open for now and follow up once I hear back from them.
This has been fixed in rmarkdown via rstudio/rmarkdown@b7509bc, See docs here: http://rmarkdown.rstudio.com/html_document_format.html#advanced-customization
Sorry, revisiting this a little bit late...
@jimhester Would it be possible to have knitrBootstrap::bootstrap_document
respect the keep_md
option? As far as I can tell at the moment it does appear to do so.