toc macro to autogenerate table of contents from markdown headers