My summer intern project with Alison Hill was a bookdown book called rstudio4edu (coming soon!), and for this project we wanted to create custom, pretty tip boxes (aka custom blocks, sidebars, or –as I like to call them– “div tips”) to use in the book we were writing. We also wanted to include them in a series of site templates geared towards educators (also coming soon!), using R Markdown, bookdown, etc.
This summer I have been interning at RStudio on a project with Alison Hill, and I’ve been spending a lot of time getting to know bookdown and its friends. In particular, I’ve been thinking about how to make bookdown content more easily shared and accessible.
I’ve noticed that some markdown files within R have built-in ways to get a link to point to specific section headings. These are called anchor links.