Adding anchors for template formats