Skip to main content

spans

Function spans 

Source
fn spans<'a>(
    segments: &'a [Segment],
    context: &RowContext<'a>,
    faces: &LazyCell<Faces>,
    stressed: bool,
) -> Vec<Span<'a, NoteLink>>
Expand description

The pieces segments of a note’s text, as spans: links and mentions can be clicked, and they and hashtags are set in accent; what the note marks is set as it marks it. stressed, all of it is bold: what says what the columns of a table are.