D
A
T
A
.
C
S
V
A
T
A
.
C
S
V
V
A
R
S
.
Y
M
L
A
R
S
.
Y
M
L
T
E
M
P
L
A
T
E
.
J
2
E
M
P
L
A
T
E
.
J
2
Outputs
JinjaFx can create different outputs from the same template using the following syntax:
<output "Output 1"> ... </output> <output "Output 2"> ... </output>
By default an output is rendered as text, but you can also tell JinjaFx to render it as HTML or Markdown (GitHub Flavoured), e.g:
<output:html "Output 1"> ... </output> <output:markdown "Output 2"> ... </output>
Inputs
Normally data is provided to JinjaFx via CSV or YAML using the above panes, but JinjaFx can also prompt the user for input using the "jinjafx_input" variable in "vars.yml", e.g:
jinjafx_input: prompt: name: text: "Name" required: True age: text: "Age" required: True pattern: "[1-9]+[0-9]*"
These inputs can then be used in your template using the following Jinja2 syntax:
{{ jinjafx_input['name'] }} is {{ jinjafx_input['age'] }} years old
For more advanced syntax that allows you to specify the format of the input dialog please see README.md on GitHub.