DDS-GmbH / jocument

JVM based template engine for DOCX and XLSX.
MIT License
3 stars 1 forks source link

Conditions #112

Open alexpartsch opened 2 years ago

alexpartsch commented 2 years ago

We will be copying the None-False Values from the Mustache template engine specification:

Non-False Values

When the value is non-false but not a list, it will be used as the context for a single rendering of the block.

Template:

{{#person?}}
  Hi {{name}}!
{{/person?}}

Hash:

{
  "person?": { "name": "Jon" }
}

Output:

Hi Jon!
alexpartsch commented 2 years ago

False we define:

AntonOellerer commented 2 years ago