Description Usage Arguments Value Author(s) See Also Examples
these functions build the header function and the footer function used by the html renderer
1 2  | header_html(document, stylesheet)
footer_html(document)
 | 
document | 
 logical. If TRUE the built header and footer functions will return the beginning and end of a full html document. If FALSE, the built functions will only return the opening and closing <pre> tags.  | 
stylesheet | 
 stylesheet to use. See   | 
header and footer functions.
Romain Francois <romain@r-enthusiasts.com>
renderer_html uses these functions to create a renderer
suitable for the renderer argument of highlight
1 2 3 4 5 6 7 8  | h <- header_html( document = FALSE )
h()
h <- header_html( document = TRUE, stylesheet = "default") 
h()
f <- footer_html( document = TRUE )
f()
f <- footer_html( document = FALSE )
f()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.