pub fn analyze_labels(
document: &Document,
) -> (Vec<(Label, Option<EcoString>)>, usize)
Expand description
Find all labels and details for them.
Returns:
- All labels and descriptions for them, if available
- A split offset: All labels before this offset belong to nodes, all after belong to a bibliography.