Collection of R functions I source and then use to add a table of contents (TOC) to my *.Rmd and *.md files.
Does two things
- Adds a toc to one file, after the # TOC and before the next header.
- Can also create a master TOC for a collection of files. This is currently optimized for creating TOCs for GitHub wiki's.
To use the functions:
Comments or suggestions are welcome. Will be posting examples soon.