[extract_toc] Add Pandoc support and improve documentation.

Add Pandoc support and improve documentation for `extract_toc` plugin.