templatejs
Syntax highlight for template.js
Details
Installs
- Total 287
- Win 186
- Mac 53
- Linux 48
Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 1 | 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