Interweave code and output, as if you had executed at the command line
1 2 3 | block_interweave(code, plot_width=4, plot_height=4,
tex_width="0.5\linewidth", tex_height, dpi=300, ...,
envir=globalenv())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.