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.
pub fn default_code_block_fn(args: CodeBlockFnArgs) -> impl UiNode
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.