define a knit_print method for objects of the class spiro. It inserts the .svg file into the document with the knitr::include_graphics function
1 | knit_print.spiro(x, ...)
|
x |
Name of the output file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.