Live preview,formatting