as_md_val_list | R Documentation |
Generates a Markdown list of the given values formatted as verbatim. Character values are additionally wrapped in double quotes.
as_md_val_list(...)
... |
Values to be formatted. One or more R objects. |
A character scalar.
Other (Pandoc) Markdown functions:
as_md_list()
,
as_md_vals()
,
md_verb()
,
pipe_table()
,
strip_md()
,
strip_md_footnotes()
list(1L, 2.2, "other") |>
pal::as_md_val_list() |>
cat()
# note that values are flattened before listing them, so this yields the same list
list(list(list(1L, list(2.2), list(list("other"))))) |>
pal::as_md_val_list() |>
cat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.