Skip to content

Commit

Permalink
Add floating table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Oct 24, 2024
1 parent 48d3967 commit ed628b9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
8 changes: 7 additions & 1 deletion day1_walkthrough_answers.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 7 additions & 1 deletion day2_walkthrough_answers.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 7 additions & 1 deletion day3_walkthrough_answers.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 7 additions & 1 deletion day4_walkthrough_answers.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ed628b9

Please sign in to comment.