add auto render and syntax detect