pub fn format_grade_line( label: &str, grade: LetterGrade, value: Option<&str>, nc: bool, theme: Theme, ) -> String
Format a grade line with label, grade, and optional value.