This Task parses a Mardown file and adds a hyperlinked Table of Content containing all levels of headlines to the beginning of the file.
Markdown.AddToc only uses Regular Expressions and therefore has no external dependencies.
The Table of Contents will be seperated from the rest of the content by also adding
---, a horizonal rule.
# toc_header = '# Table of Contents' # default toc_header = '# Content'