zng::markdown

Function code_block_fn

source
pub fn code_block_fn(
    child: impl UiNode,
    wgt_fn: impl IntoVar<WidgetFn<CodeBlockFnArgs>>,
) -> impl UiNode
Expand description

P Widget function that converts CodeBlockFnArgs to widgets.

Sets the CODE_BLOCK_FN_VAR.