pandoc.indent: Indent text

View source: R/pandoc.R

pandoc.indentR Documentation

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

pandoc.indent('FOO', 1)
pandoc.indent(pandoc.table.return(table(mtcars$gear)), 2)
cat(pandoc.indent(pandoc.table.return(table(mtcars$gear)), 3))

pander documentation built on March 18, 2022, 6:39 p.m.