Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support --toc for Markdown and Textile writer #829

Closed
Schmoozerd opened this issue Apr 13, 2013 · 2 comments
Closed

Support --toc for Markdown and Textile writer #829

Schmoozerd opened this issue Apr 13, 2013 · 2 comments

Comments

@Schmoozerd
Copy link

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

@mpickering mpickering changed the title Feature Request: --toc created Table Of Content, use internal links Support --toc for Markdown and Textile writer Dec 7, 2014
@mpickering
Copy link
Collaborator

Thanks for your report - this shouldn't be too difficult to implement.

@vladchimescu
Copy link

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..

@jgm jgm closed this as completed in 4d49f76 Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants