Skip to contents

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 to FALSE.

no_code

Logical. If TRUE, removes code snippets. Defaults to FALSE.

no_inline_markup

Logical. If TRUE, removes inline markup. Defaults to FALSE.

no_quotes

Logical. If TRUE, removes blockquotes. Defaults to FALSE.

no_lists

Logical. If TRUE, removes lists. Defaults to FALSE.

no_external_links

Logical. If TRUE, replaces external links with internal links. Defaults to FALSE.

no_wrapping

Logical. If TRUE, prevents text wrapping. Defaults to FALSE.

underline_headers

Logical. If TRUE, headers are underlined. Defaults to FALSE.

reference_links

Logical. If TRUE, uses reference-style links. Defaults to FALSE.

underscore_em

Logical. If TRUE, styles using underscores. Defaults to FALSE.

underscore_strong

Logical. If TRUE, styles using double underscores. Defaults to FALSE.

fenced_code_blocks

Logical. If TRUE, fences code blocks with back-ticks. Defaults to FALSE.

See also

Other practical generators: lipsum_corporate(), lipsum_loripsum(), lipsum_seazon()