real time preview of the syntax