Skip to content

Commit

Permalink
Fix wrong name used for css classes
Browse files Browse the repository at this point in the history
The class assigned is actually *header*, not *heading*, which threw me when I tried to use it and might throw others.
  • Loading branch information
trytriangles committed Jan 12, 2017
1 parent af58beb commit 7bab65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -118,7 +118,7 @@ You can customize the table of contents markup by overriding the [./partials/toc
</ul>
```

Note that by default (since v3.1.2), each heading list item has a class that depends on the level of the heading (`.sidebar-heading-1`, `.sidebar-heading-2`, ...). Thanks @mixinmax!
Note that by default (since v3.1.2), each heading list item has a class that depends on the level of the heading (`.sidebar-header-1`, `.sidebar-header-2`, ...). Thanks @mixinmax!

The `headings` metadata is an array of objects with:

Expand Down

0 comments on commit 7bab65a

Please sign in to comment.