Skip to content

Instantly share code, notes, and snippets.

@jonschlinkert
Created December 15, 2015 19:42
Show Gist options
  • Star 56 You must be signed in to star a gist
  • Fork 25 You must be signed in to fork a gist
  • Save jonschlinkert/ac5d8122bfaaa394f896 to your computer and use it in GitHub Desktop.
Save jonschlinkert/ac5d8122bfaaa394f896 to your computer and use it in GitHub Desktop.
Example table of contents generated by markdown-toc, correctly links repeated headings.
@ian-l-kennedy
Copy link

I guess I could just link to a heading very close to the TOC, or add a heading to the TOC and link to that :/ so, one click at the TOC to get to content, then a link somewhere to the heading ### Table of contents which just so happens to be above the TOC. dumb question maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment