Skip to main content

figure_caption_text

Function figure_caption_text 

Source
fn figure_caption_text(document: &Document, figure_id: NodeId) -> Option<NodeId>
Expand description

Find the text node of a figure’s caption, if it has one. The lowerer tags the caption paragraph with role = "caption" and gives it a single [NodeKind::Text] child carrying the caption string.