You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
195 B

8 years ago
gitbook.events.bind('start', function(e, config) {
anchors.options = config.anchorjs || {};
});
gitbook.events.bind('page.change', function() {
anchors.add('h1,h2,h3,h4,h5');
});