Added anchor directive to prevent nagigation when the anchor is empty.
Added docs for anchor directive.