Debian Codegraph @

man/pandoc.header.return.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/pandoc.R
3 \name{pandoc.header.return}
4 \alias{pandoc.header.return}
5 \alias{pandoc.header}
6 \title{Create header}
7 \usage{
8 pandoc.header.return(x, level = 1, style = c("atx", "setext"))
9 }
10 \arguments{
11 \item{x}{character vector}
12
13 \item{level}{integer}
14
15 \item{style}{atx or setext type of heading}
16 }
17 \value{
18 By default this function outputs (see: \code{cat}) the result. If you would want to catch the result instead, then call the function ending in \code{.return}.
19 }
20 \description{
21 Creates a (Pandoc's) markdown style header with given level.
22 }
23 \examples{
24 pandoc.header('Foo!', 4)
25 pandoc.header('Foo!', 2, 'setext')
26 pandoc.header('Foo **bar**!', 1, 'setext')
27 }
28 \references{
29 John MacFarlane (2012): _Pandoc User's Guide_. \url{https://johnmacfarlane.net/pandoc/README.html}
30 }