Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>templatejsNew to Visual Studio Code? Get it now.
templatejs

templatejs

yanhaijing1234

|
713 installs
| (1) | Free
syntax hightlight for templatejs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

template-vscode

template.js的vscode插件。

Features

  • 语法高亮

支持templatejs的模板语法高亮

下面示例如下

<h2>我的待办</h2>
<ul>
    <%list.forEach(function(item, index) {%>
        <li>
            <div class="row">
                <div class="col-5 <%=index % 2 ? 'text-secondary' : ''%>">
                    <%=item.text%>
                    <%:=item.text%>
                    <%abc:=item.text%>
                </div>
            </div>
        </li>
    <%})%>
</ul>
<a href="#" class="btn btn-dark add-todo">新增</a>

高亮后的效果

CHANGELOG

CHANGELOG.md

TODO

TODO.md

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft