Generates random, customisable placeholder text using the Loripsum Web API.
Usage
lipsum_loripsum(
n = 5L,
length = "short",
decorate = FALSE,
link = FALSE,
ul = FALSE,
ol = FALSE,
dl = FALSE,
bq = FALSE,
code = FALSE,
headers = FALSE,
allcaps = FALSE,
prude = FALSE,
plaintext = FALSE
)
Arguments
- n
Integer. The number of paragraphs to generate. Defaults to 5.
- length
Character. The average length of a paragraph. Can be any of "short", "medium", "long" or "verylong". Defaults to "short".
- decorate
Logical. If
TRUE
, bold, italic and marked text. Defaults toFALSE
.- link
Logical. If
TRUE
, adds links. Defaults toFALSE
.- ul
Logical. If
TRUE
, adds unordered lists. Defaults toFALSE
.- ol
Logical. If
TRUE
, adds numbered/ordered lists. Defaults toFALSE
.- dl
Logical. If
TRUE
, adds description lists. Defaults toFALSE
.- bq
Logical. If
TRUE
, adds blockquotes. Defaults toFALSE
.- code
Logical. If
TRUE
, adds code samples. Defaults toFALSE
.- headers
Logical. If
TRUE
, adds headers. Defaults toFALSE
.- allcaps
Logical. If
TRUE
, uses ALL CAPS. Defaults toFALSE
.- prude
Logical. If
TRUE
, removes Latin words which could be construed as offensive in English, like 'sex' or 'homo'. Defaults toFALSE
.- plaintext
Logical. If
TRUE
, returns plain text without HTML tags. Defaults toFALSE
.
See also
Other practical generators:
lipsum_corporate()
,
lipsum_markdown()
,
lipsum_seazon()