md_list | R Documentation |
Turn a character vector into a valid markdown list block. This is a generic
function that calls md_bullet()
, md_order()
, or md_task()
depending on
what string is provided in the type
argument.
md_list(x, type = c("bullet", "ordered", "task"), ...)
x |
A character vector of list items. |
type |
The type of list to create; either bullet, ordered, or task. |
... |
Arguments passed to the appropriate list type function. |
A glue
vector with length equal to x
.
Other container block functions:
md_bullet()
,
md_order()
,
md_quote()
,
md_task()
md_list(state.name[1:5], type = "bullet", marker = "+")
md_list(state.name[6:10], type = "ordered", marker = ")")
md_list(state.name[11:15], type = "task", check = 3:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.