UNPKG

marky-deep-links

Version:

Make heading links work in marky-markdown generated HTML

8 lines (5 loc) 245 B
// auto-generated DOM ids are prefixed with `user-content-` for security reasons // this checks whether someone has clicked on an auto-generated id, and updates // the URL fragment to not include the prefix. var rehash = require('.') rehash()