Reformatting the outline into headers.