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 <romain@r-enthusiasts.com>

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 21, 2017, 12:56 a.m.

Search within the highlight package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.