make the toc optional, since it breaks the other clients of render_md