pub type BlockRenderer = fn(&Fence<'_>, &mut Window, &mut App) -> Option<AnyElement>;Expand description
Paints the block a fence’s info string names, or None to leave it to the
ordinary code block.
One answer for a language nothing paints, a renderer that has not been installed, and a renderer that looked at the code and declined.
The element sits inside crate::render::PAINTED_CONTEXT. A press it does
not stop reaches the editor, which puts the caret in the fence and shows its
source.