From ed628b9b7b955896f2ba6dbaf17ac75c50744047 Mon Sep 17 00:00:00 2001 From: Chester Ismay Date: Wed, 23 Oct 2024 20:54:59 -0700 Subject: [PATCH] Add floating table of contents --- day1_walkthrough_answers.qmd | 8 +++++++- day2_walkthrough_answers.qmd | 8 +++++++- day3_walkthrough_answers.qmd | 8 +++++++- day4_walkthrough_answers.qmd | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/day1_walkthrough_answers.qmd b/day1_walkthrough_answers.qmd index 6c1886b..545d8ec 100644 --- a/day1_walkthrough_answers.qmd +++ b/day1_walkthrough_answers.qmd @@ -2,7 +2,13 @@ title: "Statistics in R with the `tidyverse`" subtitle: "Day 1 Walkthrough" author: "Dr. Chester Ismay" -format: html +format: + html: + toc: true + toc-title: "Contents" # Optional, customize the title of the TOC + toc-location: left # Specifies the location of the TOC (can also be 'right') + toc-float: true # Enables the floating TOC + toc-depth: 3 # Sets the depth of the TOC (levels of headers) --- ```{r} diff --git a/day2_walkthrough_answers.qmd b/day2_walkthrough_answers.qmd index f5beddc..f613379 100644 --- a/day2_walkthrough_answers.qmd +++ b/day2_walkthrough_answers.qmd @@ -2,7 +2,13 @@ title: "Statistics in R with the `tidyverse`" author: "Dr. Chester Ismay" subtitle: "Day 2 Walkthrough" -format: html +format: + html: + toc: true + toc-title: "Contents" # Optional, customize the title of the TOC + toc-location: left # Specifies the location of the TOC (can also be 'right') + toc-float: true # Enables the floating TOC + toc-depth: 3 # Sets the depth of the TOC (levels of headers) --- ```{r} diff --git a/day3_walkthrough_answers.qmd b/day3_walkthrough_answers.qmd index 407b5b7..59fc0be 100644 --- a/day3_walkthrough_answers.qmd +++ b/day3_walkthrough_answers.qmd @@ -2,7 +2,13 @@ title: "Statistics in R with the `tidyverse`" author: "Dr. Chester Ismay" subtitle: "Day 3 Walkthrough" -format: html +format: + html: + toc: true + toc-title: "Contents" # Optional, customize the title of the TOC + toc-location: left # Specifies the location of the TOC (can also be 'right') + toc-float: true # Enables the floating TOC + toc-depth: 3 # Sets the depth of the TOC (levels of headers) --- ```{r} diff --git a/day4_walkthrough_answers.qmd b/day4_walkthrough_answers.qmd index 69c1842..4bec004 100644 --- a/day4_walkthrough_answers.qmd +++ b/day4_walkthrough_answers.qmd @@ -2,7 +2,13 @@ title: "Statistics in R with the `tidyverse`" author: "Dr. Chester Ismay" subtitle: "Day 4 Walkthrough" -format: html +format: + html: + toc: true + toc-title: "Contents" # Optional, customize the title of the TOC + toc-location: left # Specifies the location of the TOC (can also be 'right') + toc-float: true # Enables the floating TOC + toc-depth: 3 # Sets the depth of the TOC (levels of headers) --- ```{r}