最好能够格式化像这样的代码
<%- include('header')%>
<%=name.toUpperCase() %>
hello,
<%= name%>
<%- include('footer')%>
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
正则表达式
自己替换一下就行
设置vscode用户配置的文件关联,把ejs关联到html。
soonfy