Skip to main content

text_documents

Function text_documents 

Source
pub fn text_documents(
    state: &CourseState,
    page_ids: &[Uuid],
    parts: ExerciseTextParts,
) -> Vec<Document>
Expand description

Exercise text on page_ids for the course-wide engines: instruction lists (the course default’s too when an exercise uses it; unparseable lists skipped) and names, as parts picks. Names are one paragraph each, escaped like rich text so entities read as on pages.