胡子
C 实现
支持的功能
普通变量标签
未转义的变量标签
注释
部分
倒置部分
标记分隔符
使用示例
#include
#include
#include "src/mustache.h"
char example_text[] = "Hello {{name}}\n"
"You have just won {{value}} dollars!\n"
"{{#in_ca}}"
"Well, {{taxed_value}} dollars, after taxes.\n"
"{{/in_ca}}"
"{{^in_ca}}"
"No tax!!\n"
2021-06-20 21:03:24
26KB
C
1