md_bullet | R Documentation |
Creates a bullet point list in markdown format. Copy of
gluedown::md_bullet()
but with the added ability to specify an indent to
create nested lists and the option to use code font.
md_bullet(
x,
indent = 0,
code = FALSE,
italic = FALSE,
marker = c("*", "-", "+")
)
x |
character (vector). Text to convert into a bullet point list. |
indent |
numeric, positive whole number. Number of spaces to indent the bullet point list by (Default: 0). |
code |
logical. If the text will be formatted as code (Default: TRUE). |
italic |
logical. If the text will be formatted as italic (Default: FALSE). |
marker |
character. The bullet list marker to use (Default: "*"). |
glue
vector. A bullet point list in markdown format.
md_bullet(c("First item", "Second item", "Third item"), code = TRUE)
md_bullet(c("First item", "Second item", "Third item"), indent = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.