Description Usage Arguments Value Author(s) Examples
View source: R/createTemplate.R
Create a title block for an rmarkdown template.
1 | makeTitleBlock(title = "Untitled", ...)
|
title |
title defaults to 'Untitled' |
... |
a list of additional options such as output |
title block as a character string length 1
Michael Nelson
1 2 3 4 5 6 7 8 | ## Not run:
# create a title block for an HTML document
makeTitleBlock(title = "Something interesting", output = "html_document")
# create a title block with some extra options
makeTitleBlock(title = "Something more interesting",
output = list(html_document = list(toc = TRUE, fig_caption = TRUE, css = 'styles.css')))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.