Add TOC class or id to HTML output #281

tstgruby opened this Issue Jan 4, 2012 · 1 comment


None yet

2 participants


It would be nice to be able to style the TOC with CSS.

Currently, this is hardly possible because the generated ul HTML element has no class or id.

In ContentTransformer.hs pandocToHtml:

writerTemplate = "$if(toc)$\n$toc$\n$endif$\n$body$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment