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

New feature: Add TOC #63

Closed
diethardsteiner opened this issue Jul 14, 2014 · 3 comments
Closed

New feature: Add TOC #63

diethardsteiner opened this issue Jul 14, 2014 · 3 comments
Milestone

Comments

@diethardsteiner
Copy link

I'd like to have an easy way of adding a table of contents. There are some markdown extensions for TOC ... maybe you can support them. The idea is that once the user writes something like [TOC] (or whatever the syntax is) MacDown auto-generates a table of contents.

@uranusjr
Copy link
Member

This is doable since Hoedown supports TOC already. I’ll look into the detail when I get the time.

BTW, the link you gave above is broken.

@diethardsteiner
Copy link
Author

Ok, thanks. Excellent! (I forgot to escape the the markdown above ... that's why it looks like a link, should have been: [TOC])

@uranusjr uranusjr added this to the 0.3 milestone Jul 16, 2014
uranusjr added a commit that referenced this issue Jul 30, 2014
See #63

This implementation does NOT render TOC at a specific tag, but
just prepends the TOC portion in front of the content (but after
front-matter). The TOC syntax might be more difficult. Still
considering options.
@diethardsteiner
Copy link
Author

Awesome! Thanks!

@uranusjr uranusjr modified the milestones: 0.2.5, 0.3, 0.2.2 Sep 16, 2014
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

2 participants