Multi Output Example¶
One Renderflow config can emit several output formats.
Example config¶
input: report.md
output_dir: dist
variables:
title: Annual Report
outputs:
- type: html
template: default
- type: pdf
- type: docx
What happens¶
- the source file is read once,
- built-in transforms run per target format,
- final render steps run concurrently,
- outputs are written to
dist/report.html,dist/report.pdf, anddist/report.docx.
When to use graph mode instead¶
Use the standard outputs: list when you already know the exact files you want.
Use transforms: transforms.yaml plus renderflow build --target ... or --all when output discovery should come from a transformation graph.