format_txt: Format and preview text with line numbers

Description Usage Arguments Value Examples

View source: R/preview.R

Description

Format and preview text with line numbers

Usage

1
2
3
format_txt(text, nlines = 10)

cat_txt(text, nlines = 10)

Arguments

text

Text to format.

nlines

Number of lines to keep.

Value

a vector of character woth length nlines.

Examples

1
2

MarieEtienne/quizin documentation built on Dec. 17, 2021, 3:11 a.m.