Learn R Programming

pander (version 0.6.5)

pandoc.indent: Indent text

Description

Indent all (optionally concatenated) lines of provided text with given level.

Usage

pandoc.indent(x, level = 0)

Arguments

x

character vector

level

integer

Examples

Run this code
# NOT RUN {
pandoc.indent('FOO', 1)
pandoc.indent(pandoc.table.return(table(mtcars$gear)), 2)
cat(pandoc.indent(pandoc.table.return(table(mtcars$gear)), 3))
# }

Run the code above in your browser using DataLab