1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #1465 resolved

Allow the [TOC] macro in Markdown'ed READMEs (BB-739)

Steve Losh
created an issue

The current version of Django and python-markdown support the {{{[TOC]}}} macro to insert a table of contents. This is really handy for larger READMEs.

Here's an example of how I use it on my site: http://bitbucket.org/sjl/stevelosh/src/tip/templates/projects/project.html#cl-34

Comments (9)

  1. John St. John

    Actually, it looks like this already works! I put [TOC] on it's own line in the main README.md for my repository, and it rendered as a bulleted list with links to the other sections in my README.md file.

  2. Log in to comment