The Fileloom Template Editor is a powerful visual environment for creating PDF templates. Access it by clicking any template or creating a new one from the Templates page.Documentation Index
Fetch the complete documentation index at: https://docs.fileloom.io/llms.txt
Use this file to discover all available pages before exploring further.
Editor Layout
The template editor consists of three main areas:| Area | Description |
|---|---|
| Settings Panel | Template name, output settings, paper configuration (left side) |
| Code Tabs | HTML, CSS, and Test Data editors (center) |
| Live Preview | Real-time PDF preview (right side) |
Settings Panel
The left panel contains template configuration:- Template Name — Identifying name for the template
- Output Name — Dynamic filename pattern (supports Handlebars)
- Print Background — Include background colors/images
- Orientation — Portrait or Landscape
- Paper Size — A4, Letter, Legal, and more
- Margins — Top, right, bottom, left (in millimeters)
- Header/Footer — Enable and configure page headers/footers
Code Tabs
The editor provides three tabs for template content:HTML Tab
Write your template markup with Handlebars syntax:CSS Tab
Style your template with CSS:Test Data Tab
Enter sample JSON to test your template:Live Preview
The right panel shows a real-time preview of your PDF:- Automatic Updates — Preview refreshes as you type
- Actual Rendering — Uses the same Handlebars engine as the API
- Page Simulation — Shows background, headers, and footers
- Zoom Controls — Zoom in/out to inspect details
The preview uses the same rendering engine as the API, so what you see is exactly what you’ll get.
Auto-Save & Publishing
Auto-Save (Drafts)
Your work is automatically saved as a draft:- Changes save every few seconds
- “Draft” indicator shows unsaved changes
- Drafts are not available via API
Publishing
Click Publish to make your template available via API:- Creates a new version
- Previous versions are preserved
- Published templates can be used immediately
Next Steps
Settings
Configure paper size, margins, and output options
Headers & Footers
Add page numbers and repeated content
Version History
Manage template versions
Handlebars Basics
Learn template syntax

