document_diff | R Documentation |
Print diff between active document and saved version
document_diff( id = rstudioapi::documentId(FALSE), mode = c("auto", "unified", "sidebyside", "context"), context = 2, ... )
mode |
character(1L), one of:
|
context |
integer(1L) how many lines of context are shown on either side
of differences (defaults to 2). Set to |
... |
Additional parameters passed to |
Returns NULL
invisibly, called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.