Skip to content

Creating a table of contentd for Xaringan, inspired by the tocs already available for slidy_presentation and reveal.js

Notifications You must be signed in to change notification settings

lucio-cornejo/ejemplo-xaringan-TOC

Repository files navigation

A table of contents for Xaringan

The lack of a table of contents in Xaringan has actually been an open issue since 2019. Other html presentation formats in R Markdown, such as revealjs::revealjs_presentation and slidy_presentation do provide a table of contents, which allows for a faster navigation of the slides.

As Yihui explained in the issue page above, an implementation of a table of contents for Xaringan is actually a simple project requiring JavaScript. So, I've implemented just that, respecting the properties explained by Yihui in this comment of his.

Demo

Please visit this link in order to see a demo of this feature.

About

Creating a table of contentd for Xaringan, inspired by the tocs already available for slidy_presentation and reveal.js

Resources

Stars

Watchers

Forks