Skip to main content

with_caption

Function with_caption 

Source
pub fn with_caption(rich: &Rich, caption: &str) -> Rich
Expand description

The payload with the caption put on its math block (caption, kept only when it is one line of at most MAX_MATH_LINE characters, as the spec requires; a longer caption stays in the body only).