Developer Docs

Template Preview & Rendering

Deep dive into template content resolution, style fallback behavior, and rendering pipeline troubleshooting.

Rendering combines template content, style commands, branding settings, and candidate data. Understanding this pipeline helps you diagnose output issues quickly.

Content resolution order

  1. Template-specific latex_content if present
  2. Template file_path content if configured
  3. Structure-only fallback template for safe defaults

Style resolution behavior

If sty_content exists on a template, it is used. Otherwise the system falls back to the global vitae.sty style layer.

Branding and logo flow

  • Primary color can map through %%primary_color_hex%%
  • Logo output uses %%companylogo%% when show_logo is enabled

Preview vs final render

Preview validates template behavior quickly. Final render persists output and tracks render lifecycle state.

Validation tip

Always test with both short and long candidate profiles before publishing template changes.