Add TOC snippet for markdown