knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Please see the cmdfun website for full documentation:
In particular, a guide to building wrappers using cmdfun, complete with several examples, can be found here:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.