Generate markdown-formatted Lorem Ipsum using the Lorem Markdownum API
Source:R/lipsum_markdown.R
lipsum_markdown.Rd
Generates customisable placeholder text using the Lorem Markdownum API, formatted for markdown.
Usage
lipsum_markdown(
n = 5L,
no_headers = FALSE,
no_code = FALSE,
no_inline_markup = FALSE,
no_quotes = FALSE,
no_lists = FALSE,
no_external_links = FALSE,
no_wrapping = FALSE,
underline_headers = FALSE,
reference_links = FALSE,
underscore_em = FALSE,
underscore_strong = FALSE,
fenced_code_blocks = FALSE
)
Arguments
- n
Integer. The number of "blocks" to generate. Defaults to 5.
- no_headers
Logical. If
TRUE
, removes headers. Defaults toFALSE
.- no_code
Logical. If
TRUE
, removes code snippets. Defaults toFALSE
.- no_inline_markup
Logical. If
TRUE
, removes inline markup. Defaults toFALSE
.- no_quotes
Logical. If
TRUE
, removes blockquotes. Defaults toFALSE
.- no_lists
Logical. If
TRUE
, removes lists. Defaults toFALSE
.- no_external_links
Logical. If
TRUE
, replaces external links with internal links. Defaults toFALSE
.- no_wrapping
Logical. If
TRUE
, prevents text wrapping. Defaults toFALSE
.- underline_headers
Logical. If
TRUE
, headers are underlined. Defaults toFALSE
.- reference_links
Logical. If
TRUE
, uses reference-style links. Defaults toFALSE
.- underscore_em
Logical. If
TRUE
, styles using underscores. Defaults toFALSE
.- underscore_strong
Logical. If
TRUE
, styles using double underscores. Defaults toFALSE
.- fenced_code_blocks
Logical. If
TRUE
, fences code blocks with back-ticks. Defaults toFALSE
.
See also
Other practical generators:
lipsum_corporate()
,
lipsum_loripsum()
,
lipsum_seazon()