makeTitleBlock: Create a title block for an rmarkdown template.

Description Usage Arguments Value Author(s) Examples

View source: R/createTemplate.R

Description

Create a title block for an rmarkdown template.

Usage

1
makeTitleBlock(title = "Untitled", ...)

Arguments

title

title defaults to 'Untitled'

...

a list of additional options such as output

Value

title block as a character string length 1

Author(s)

Michael Nelson

Examples

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)

mnel/rmdTemplate documentation built on May 23, 2019, 5:06 a.m.