# How to use
This plugin is an improved version comparing to the official one:
offsetoptions to make sure that the link hash can be exactly aligned with the current header.
You should set
containerSelecteras the theme container, and if your theme container has some special layout, you can increase an offset for all headers through the
If you scroll to the top of the page, the hash will be correctly removed.
Addtionally, we changed
activeLinkSelecter, which should be more senmantic.
Selector for header anchors
Selector for active anchors
Selector for theme content container.
It’s used to detect the spacing before the first header
Additional offset for anchor position, used to make sure the anchor is aligned perfectly.
It’s useful when you have a padding top or other layout styles in your theme.