Skip to main content

Module blocks

Module blocks 

Source
Expand description

Per-block-type content parsers (Pass 2 resolution).

resolve_block converts a Block::Unknown into a typed variant based on the block name. Unknown block names pass through unchanged.

Functions§

resolve_block
Resolve a Block::Unknown into a typed variant, if the name matches a known block type. Unrecognised names are returned unchanged.