@jdists/swig
v0.0.3
Published
swig as jdists processor
Downloads
5
Readme
@jdists/swig
swig as jdists processor
Example
<!--data>
kids:
- name: Jimmy
age: '12'
- name: Sally
age: '4'
</data-->
<!--jdists encoding="swig" data="?data"-->
<ul>
{% for item in kids %}
<li>{{ item.name }} is {{ item.age }}</li>
{% endfor %}
</ul>
<!--/jdists-->
<!--swig data="?data"-->
<ul>
{% for item in kids %}
<li>{{ item.name }} is {{ item.age }}</li>
{% endfor %}
</ul>
<!--/swig-->
License
MIT © zswang