Auto create table and format the text correctly