use ecow::{eco_format, EcoString}; use typst_utils::{PicoStr, ResolvedPicoStr}; use crate::foundations::{func, scope, ty, Repr, Str}; /// A label for an element. /// /// Inserting a label into content attaches it to the closest preceding element /// that is not a space. The preceding element must be in the same scope as the /// label, which means that `[Hello #[