wrap_blocks: Array of blocks

View source: R/utils.R

wrap_blocksR Documentation

Array of blocks

Description

wrap block class objects in a list

Usage

wrap_blocks(...)

Arguments

...

block elements

Value

list of blocks elements

See Also

Other layout: actions_block(), as.blocks(), context_block(), divider_block(), file_block(), image_block(), input_block(), section_block()

Examples

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**'
    )
  )

yonicd/slackblocks documentation built on March 2, 2023, 6:53 a.m.