add txt and html formats