循环
可以使用for指令进行循环
定义循环变量
{
"variable": "hello world",
"loop": [{"name": "content1", "is_show":true},{"name": "content2","is_show": false},{"name": "content3", "is_show": true}]
}使用循环
<!--{for-loop}-->
# <!--{v-name}-->
<!--{if-is_show}-->
hello world
<!--{end}-->
<!--{end}-->
<!--{forn-6}-->
hello world
<!--{end}-->编译结果
最后更新于