R: Indent text

pandoc.indent {pander} | R 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))

[Package pander version 0.6.1 Index]