Description Usage Details Value Examples
Rstudio addins, mostly for Rmarkdown html/css snippets
1 2 3 4 5 6 7 |
- insertImgCenter This function is an Rstudio addin that inserts <img src="" style="display:block; margin: 0 auto;"> so that one can have a centered image on the fly without an R chunk. You must supply the image location for src.
- insertSpan Insert a span for a particular class.
<img src="" style="display:block; margin: 0 auto;"> as text.
<span class=""></span> as text.
1 2 3 4 5 6 | ## Not run:
library(lazerhawk)
insertImgCenterAddin()
insertSpanAddin()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.