This version is old school.
Please find jQuery plugins on npm.
Anchorify.js
A dead simple jQuery plugin for automatically creating anchored headings in your HTML documents.
A dead simple jQuery plugin for automatically creating anchored headings in your HTML documents.