addins: Rstudio addins

Description Usage Details Value Examples

Description

Rstudio addins, mostly for Rmarkdown html/css snippets

Usage

1
2
3
4
5
6
7

Details

- 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.

Value

<img src="" style="display:block; margin: 0 auto;"> as text.

<span class=""></span> as text.

Examples

1
2
3
4
5
6
## Not run: 
library(lazerhawk)
insertImgCenterAddin()
insertSpanAddin()

## End(Not run)

mclark--/lazerhawk documentation built on July 17, 2018, 3:11 a.m.