| rpic_knitr_engine | R Documentation |
{rpic} chunksRegister with rpic_register_knitr(), then write pic code in a chunk:
```{rpic, circuits=TRUE}
A:(0,0); B:(2,0)
resistor(A,B)
```
Chunk options: circuits, texlabels, scale.
rpic_knitr_engine(options)
options |
knitr chunk options. |
The chunk output produced by knitr::engine_output() (the rendered
diagram as an included figure).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.