gfranko / jquery.tocify.js

A jQuery Table of Contents plugin that can be themed with Twitter Bootstrap or jQueryUI.
http://gregfranko.com/jquery.tocify.js/
MIT License
927 stars 217 forks source link

Added an ignoreSelector option to exclude header elements #27

Closed kevinoconnor7 closed 11 years ago

kevinoconnor7 commented 11 years ago

I had an application that I wanted to use tocify on, however, I also had user inputted markdown being rendered on the page that had headings that I wanted excluded. I wrote slight modification that uses a selector to exclude certain headers from being included by tocify.

gfranko commented 11 years ago

This change looks really great, but could you update your PR with the latest Tocify version? Your PR is using v1.3.0 and v1.4.0 is the current Tocify version. Thanks!

kevinoconnor7 commented 11 years ago

Fetched upstream and merged those into my branch. You should be all set.

gfranko commented 11 years ago

Awesome, this will be in the next release. Thank you!