Is there a way to make Visual Studio Code recognize HTML syntax in EJS files

后端 未结 7 1859
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 07:20

I am using Visual Studio Code on a Mac to work on Node.js applications.

Is there a way to make Visual Studio Code recognize EJS files as HTML markup? I didn\'t see any

7条回答
  •  误落风尘
    2021-01-31 07:45

    There is an extension for .ejs support. Launch VS Code Quick Open (Ctrl+P), paste the following command, and type enter.

    ext install ejs-language-support
    

提交回复
热议问题