Is there a Jade template syntax checker/validator?
问题 I have some syntax errors in my Jade templates. Are there any tools that can help me debug? 回答1: Found it. Use jade [fileName].jade to debug your Jade template. You can install the Jade tool with npm install jade --global . 回答2: Adding this here because I still had to google. npm i -g pug-lint NOTE: jade has changed its name to pug 回答3: web storm is a better tool for jade development ,it idents and corrects jade files 来源: https://stackoverflow.com/questions/14173144/is-there-a-jade-template