-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add Table Of Contents support #64
Comments
As a possible example: In ApprovalTests.cpp we use this: And we run it with this: |
I haven't managed to get that I'd been wanting to ask if you could add a ToC to mdsnippets' home page too - so I guess this would help with that! :-) |
@claremacrae still in a beta release. but here is a first cut of the doco https://github.com/SimonCropp/MarkdownSnippets/blob/master/docs/table-of-contents.md#table-of-contents |
@SimonCropp Thanks! I notice that there's a start-tag for the generated TOC but not an end one... I was thinking an end one would be useful, mainly for consistency. |
We've found it useful to go for deeper ToC than just level 2: https://github.com/approvals/ApprovalTests.cpp/blob/master/doc/UsingGoogleTests.md#top |
fixed |
https://github.com/SimonCropp/MarkdownSnippets#table-of-contents
The text was updated successfully, but these errors were encountered: