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))

Rapporter/pander documentation built on Sept. 15, 2024, 2:11 p.m.