context_block | R Documentation |
Displays message context, which can include both images and text.
context_block(elements, id = NULL)
elements |
An array of image elements and text objects. Maximum number of items is 10. |
id |
character, A string acting as a unique identifier for a block. Default: NULL |
Available in surfaces: Modals, Messages, Home tabs
context_block class
Other layout:
actions_block()
,
as.blocks()
,
divider_block()
,
file_block()
,
image_block()
,
input_block()
,
section_block()
,
wrap_blocks()
context_block( elements = wrap_blocks( image_element( url = 'https://image.freepik.com/free-photo/red-drawing-pin_1156-445.jpg', alt_text = 'images' ), block_text( text = 'Location: **Dogpatch**' ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.