editor with prettify