For the various exercise types (h5p, shiny apps, learnrs & GitHub assignments/challenges) we add toc entries with h5p(), launch_shiny(), learnr(), assignment(), and challenge() respectively. This function creates the table of content for all these exercises.

show_ex_toc(id, header = "", clear.it = TRUE, finalize = FALSE)

clean_ex_toc()

Arguments

id

An identifier for this table of content.

header

A Markdown text to place as header of the exercises toc.

clear.it

Do we clear the toc list (TRUE by default)?

finalize

If TRUE, we also compile the assignments.csv and apps.csv files with all assignments and all apps.

Value

The Markdown chunk with the exercises toc.