formatter_html: html formatter

Description Usage Arguments Value Author(s) See Also Examples

View source: R/renderer.R

Description

Wraps tokens into span tags with the class corresponding to the style

Usage

1
formatter_html(tokens, styles, ...)

Arguments

tokens

tokens to wrap

styles

styles to give to the tokens

...

ignored

Value

A vector of span tags

Author(s)

Romain Francois <[email protected]>

See Also

renderer_html

Examples

1
2
3
4
5
## Not run: 
f <- formatter_html( )
f( "hello world", "blue")

## End(Not run)

highlight documentation built on May 31, 2017, 2:44 a.m.