Implemented --toc-depth for markdown writer.