Add pretty-printing transformation to editor