| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/pandoc.R |
| 3 |
\name{pandoc.indent} |
| 4 |
\alias{pandoc.indent} |
| 5 |
\title{Indent text} |
| 6 |
\usage{ |
| 7 |
pandoc.indent(x, level = 0) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{character vector} |
| 11 |
|
| 12 |
\item{level}{integer} |
| 13 |
} |
| 14 |
\description{ |
| 15 |
Indent all (optionally concatenated) lines of provided text with given level. |
| 16 |
} |
| 17 |
\examples{ |
| 18 |
pandoc.indent('FOO', 1) |
| 19 |
pandoc.indent(pandoc.table.return(table(mtcars$gear)), 2) |
| 20 |
cat(pandoc.indent(pandoc.table.return(table(mtcars$gear)), 3)) |
| 21 |
} |