tidy_lines: Tidy lines

Description Usage Arguments

Description

Tidyies mutliple line of code.

Usage

1
tidy_lines(text, width, add_only = FALSE)

Arguments

text

Text to tidy.

width

The maximal lenght of a line. If length(width) > 1, the elements are used sequentially, one for each iteration. If there are more iterations than values of width, the last value of width is used for all remaining iterations.

add_only

If we should only add line breaks to lines that are too long or if line breaks should also be removed.


lorenzwalthert/stylermd documentation built on May 5, 2019, 1:36 a.m.