show_ex_toc: Insert a table of content for the exercises at the end of a...

View source: R/show_ex_toc.R

show_ex_tocR Documentation

Insert a table of content for the exercises at the end of a bookdown chapter

Description

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.

Usage

show_ex_toc(header = "", clear.it = TRUE)

clean_ex_toc()

Arguments

header

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

clear.it

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

Value

The Markdown chunk with the exercises toc.


SciViews/learndown documentation built on Sept. 17, 2024, 8:06 a.m.