convert preview to list
whitespace and indenting