Anchor for Link plugin (from Divio PR)

This is a backport of Divio PR from another repo to get anchors in Link plugin.