templatejs
Syntax highlight for template.js
Details
Installs
- Total 283
- Win 182
- Mac 53
- Linux 48
May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
template-sublime
template.js plugin for sublime, click here to install.
How to install
Way 1: with Package Control
- Run “Package Control: Install Package” command, find and install
templatejs
plugin.
Way 2: with Package Control + Custom Repository:
- Run “Package Control: Add repository” and add https://github.com/yanhaijing/template-sublime
- Run “Package Control: Install Package” command, find and install
templatejs
plugin.
Way 3: download and copy
- Clone or [download] git repo into your packages folder (in ST2, find Browse Packages… menu item to open this folder)
Features
- Syntax highlight
Support syntax highlight for template.js
Source code example
<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>
Highlighting effect
CHANGELOG
TODO
Contributor guide
开发时,将当前项目软连接到sublime的插件目录(菜单/Preference/Browse Packages)即可实时预览,可能需要重启
ln -s . xxx/Packages/User
发布时需要打tag,然后push到github即可
git tag x.y.z