x = readLines('docco-linear.Rmd')[-(1:11)] x = gsub('linear', 'classic', x) i = grep('^knitr:::docco_classic', x) x[i - 1] = '```r' x[i] = 'knitr::rocco' library(knitr) cat(knit_child(text = x, quiet = TRUE), sep = '\n')
You probably have noticed that you can adjust the widths of the two columns
using your cursor. What is more, press T
on your keyboard, and see what
happens.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.