markdown – R Studio / rmarkdown clickable tabs on page for .html

I am a novice user of R, and I am wondering how to implement a certain method of organization in my markdown file when it exports into a .html

I want to incorporate the clickable tabs or “chapters” found on this markdown cheat sheet (in which I searched through for and could not find the answer/code)

Anything helps because I am unsure if this is a feature from a separate package or if I completely overlooked the rstudio markdown cheat sheet

Here is a link to the .HTML that inspired me

this is the r project file in which I want to incorporate this feature

Read more here: Source link