Description Usage Arguments Value References Examples
Creates a (Pandoc's) markdown style header with given level.
1 | pandoc.header.return(x, level = 1, style = c("atx", "setext"))
|
x |
character vector |
level |
integer |
style |
atx or setext type of heading |
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
.
John MacFarlane (2012): _Pandoc User's Guide_. http://johnmacfarlane.net/pandoc/README.html
1 2 3 | pandoc.header('Foo!', 4)
pandoc.header('Foo!', 2, 'setext')
pandoc.header('Foo **bar**!', 1, 'setext')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.