pub fn analyze_labels(document: &TypstDocument) -> (Vec<DynLabel>, 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.