toc to post html code