pandoc.header.return: Create header

Description Usage Arguments Value References Examples

Description

Creates a (Pandoc's) markdown style header with given level.

Usage

1
pandoc.header.return(x, level = 1, style = c("atx", "setext"))

Arguments

x

character vector

level

integer

style

atx or setext type of heading

Value

By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.

References

John MacFarlane (2012): _Pandoc User's Guide_. http://johnmacfarlane.net/pandoc/README.html

Examples

1
2
3
pandoc.header('Foo!', 4)
pandoc.header('Foo!', 2, 'setext')
pandoc.header('Foo **bar**!', 1, 'setext')


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

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

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

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