Automatically generate permalinks for anchors.