| 类 | 说明 |
|---|---|
| CamelCaseLambda |
Converts text in a fragment to camelCase.
|
| CaseFormatLambda |
Converts text from CaseFormat to another CaseFormat
Register:
additionalProperties.put("convert", new CaseFormatLambda(LOWER_CAMEL, UPPER_UNDERSCORE));
Use:
{{#convert}}{{name}}{{/convert}}
|
| IndentedLambda |
This naively prepends indention to all lines of a fragment.
|
| JoinWithCommaLambda |
Split text by 2 spaces and then join the strings with ", "
Register:
additionalProperties.put("joinWithComma", new JoinWithCommaLambda());
Use:
{{#joinWithComma}}{{name}}{{/joinWithComma}}
|
| LowercaseLambda |
Converts text in a fragment to lowercase.
|
| TitlecaseLambda |
Converts text in a fragment to title case.
|
| UppercaseLambda |
Converts text in a fragment to uppercase.
|
Copyright © 2019. All rights reserved.