View source: R/ooxml_block_objects.R
| block_list_items | R Documentation |
Create a bullet or numbered list from list_item()
elements. Supports rich text via fpar() and multi-level nesting.
Works in both Word and PowerPoint documents.
block_list_items(..., list_type = "bullet")
... |
|
list_type |
|
list_item(), body_add(), ph_with()
Other block functions for reporting:
block_caption(),
block_gg(),
block_list(),
block_pour_docx(),
block_section(),
block_table(),
block_toc(),
fpar(),
list_item(),
plot_instr(),
unordered_list()
items <- block_list_items(
list_item(fpar(
ftext("Item 1", fp_text(color = "red"))
), level = 1),
list_item(fpar("Sub-item"), level = 2),
list_item(fpar("Item 2"), level = 1),
list_type = "bullet"
)
items
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.