Update mark up for custom template feature.