Description Usage Arguments Value Author(s)
This function prepares a rmarkdown document edited with editR for instant preview. It strips its front matter if it is present and add two extra line breaks at the end to prevent editR to "misbehave" when a code chunk is created at the very end of the document.
1 | preview(rmd)
|
rmd |
The rmarkdown document to prepare for instant preview. |
This function return a rmarkdown document ready for instant preview in editR.
Simon Garnier: garnier@njit.edu, @sjmgarnier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.