Skip to content

Commit

Permalink
Use the HTML5 <details>...</details> tag to shorten the ToC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Naereen committed Oct 14, 2017
1 parent 0a48751 commit 2cb6f03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ A list of badges, with their Markdown code, that can be included in a `README.md

> The same file for [reStructuredText](http://docutils.sourceforge.net/rst.html) code is available here: [README.rst](README.rst).
<details>
<summary>Table of content</summary>

## Table of content
* [List of Badges, in Markdown](#list-of-badges-in-markdown)
* [Generic](#generic)
Expand Down Expand Up @@ -62,6 +65,8 @@ A list of badges, with their Markdown code, that can be included in a `README.md
* [Possible TODO? :light_rail:](#possible-todo-light_rail)
* [License ? :scroll:](#license--scroll-)

</details>

----

## Generic
Expand Down

0 comments on commit 2cb6f03

Please sign in to comment.