Support --toc for Markdown and Textile writer #829
Schmoozerd
commented
mpickering
changed the title from Feature Request: --toc created Table Of Content, use internal links to Support --toc for Markdown and Textile writer
vladchimescu
commented
Are there any updates on this one? I tried to generate TOC with the markdown writer, but internal links are not automatically inserted and only a list of sections/subsections (without hyperlinks) is generated. At the same time, HTML writer doesn't have any problems with TOC generation..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
sorry if this is a bad feature request, i just used pandoc quite happily, but when i tried the --toc option (for markdown writer) I noticed that there aren't links created.
So I suggest to create the TOC with internal links to the listed sections.
Writer: markdown[_github]
Version: Current
Related Code: https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Writers/Markdown.hs#L197
Thank you for your nice program
P.S I noticed also that textile format does not yet support --toc