From 2e43934bf940a721b98d1971e3e5f95495b47daf Mon Sep 17 00:00:00 2001 From: Catherine Eisenhauer Date: Mon, 13 Jan 2025 23:21:44 +0100 Subject: [PATCH 1/2] update template with download button --- sessions_core/template.qmd | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sessions_core/template.qmd b/sessions_core/template.qmd index daed5e0..a6efc58 100644 --- a/sessions_core/template.qmd +++ b/sessions_core/template.qmd @@ -38,7 +38,22 @@ Your main section(s) can (and probably should) be boken down into subsections. Done! ---------------------------------------------------------------------------------------------------- -This last header let's students know that they are done with the main material for the day. It should also include a link to the solutions (hosted on github). +This last header let's students know that they are done with the main material for the day. It should also include a link to the solutions (hosted on github). For example: + +```{r} +#| echo: false +#| eval: true + +downloadthis::download_link( + link = 'https://github.com/epicentre-msf/repicentre/blob/main/sessions_core/01_introduction_solutions.R', + button_label = 'Solution File', + has_icon = TRUE, + icon = "fa fa-save", + self_contained = FALSE +) +``` + +Make sure this link references the **main**. Going Further From 3cb6ebfb1a93e60976075fce49c2021b830060b1 Mon Sep 17 00:00:00 2001 From: Catherine Eisenhauer Date: Mon, 13 Jan 2025 23:21:54 +0100 Subject: [PATCH 2/2] remove hypothesis --- _quarto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_quarto.yml b/_quarto.yml index 4a5f918..c37cbfc 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -26,5 +26,5 @@ format: eval: false comments: - hypothesis: true + hypothesis: false