node.js - vscode有没有格式化ejs的插件?
PHPz
PHPz 2017-04-17 16:36:14
0
2
984

最好能够格式化像这样的代码

<%- include('header')%>
    <h1>
        <%=name.toUpperCase() %>
    </h1>
    <p>hello,
        <%= name%>
    </p>
    <%- include('footer')%>
PHPz
PHPz

学习是最好的投资!

reply all(2)
黄舟

Regular expression
Just replace it yourself

刘奇

Set the file association configured by vscode user and associate ejs to html.

"files.associations": {
  "*.ejs": "html"
}

soonfy

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template