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.
The rmarkdown document to prepare for instant preview.
This function return a rmarkdown document ready for instant preview in editR.
Simon Garnier: [email protected], @sjmgarnier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.