Skip to content

Commit 98b62a7

Browse files
author
João Pinho
committed
adds some images coz life is better in colors
1 parent d09ee6a commit 98b62a7

5 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/files/document-generation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@ Use an image placeholder in your template and set the variable in the alt text:
247247

248248
### Image Loops and Collections
249249

250+
<div style={{display: 'flex', gap: '20px', marginBottom: '20px', alignItems: 'center'}}>
251+
<img src="/img/docgen/docgen-images-p-1.png" alt="Document Generation Images Example 1" style={{ maxWidth: '50%', width: '100%' }} />
252+
<img src="/img/docgen/docgen-images-p-2.png" alt="Document Generation Images Example 2" style={{ maxWidth: '50%', width: '100%' }} />
253+
</div>
254+
255+
250256
#### Mapping Journey Submissions to File Attributes
251257

252258
Since the global `_files` attribute is not yet supported, you need to map Journey submission fields to file attributes. For example, map a journey field to `my_journey_images`.
@@ -300,6 +306,11 @@ Templates containing order tables with margin corrections like:
300306

301307
## Excel Generation
302308

309+
<div style={{display: 'flex', gap: '20px', marginBottom: '20px', alignItems: 'center'}}>
310+
<img src="/img/docgen/docgen-excel-1.png" alt="Excel Document Generation Example 1" style={{ maxWidth: '50%', width: '100%' }} />
311+
<img src="/img/docgen/docgen-excel.png" alt="Excel Document Generation Example 2" style={{ maxWidth: '50%', width: '100%' }} />
312+
</div>
313+
303314
### Excel Template Support
304315

305316
The Document Generation API fully supports Excel templates with:
376 KB
Loading

static/img/docgen/docgen-excel.png

1.18 MB
Loading
1.72 MB
Loading
627 KB
Loading

0 commit comments

Comments
 (0)