path1 <- tempfile() writeLines(letters, path1) path2 <- tempfile() writeLines(letters[-(10:11)], path2) diffviewer::visual_diff(path1, path2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.