zng_wgt_markdown

Function default_code_block_fn

Source
pub fn default_code_block_fn(args: CodeBlockFnArgs) -> impl UiNode
Expand description

Default code block view.

Is AnsiText! for the ansi and console languages, and only raw text for the rest.

See CODE_BLOCK_FN_VAR for more details.