[extract_toc] Add Pandoc support and improve documentation.
Merge pull request #245 from gw0/feat-extract_toc-pandoc

[extract_toc] Add Pandoc support and improve documentation.