Skip to content

Quick Rendering

Once the interview is complete and you confirm the collected values, Codraft renders your finished document immediately. No queue, no cloud processing, no waiting.

Templates authored as .docx files produce polished Word documents. Codraft uses docxtpl under the hood, which means every font, table, header, and style in your original document is preserved exactly. Only the placeholders change.

Your formatting stays intact — bold text stays bold, tables keep their borders, and page breaks remain where you put them.

When Microsoft Word or LibreOffice is available on your machine, Codraft also produces a .pdf alongside the .docx automatically. If neither is installed, you receive the .docx with a note explaining how to convert it manually.

Templates authored as .html files produce two outputs: the rendered HTML file and a PDF generated from it via WeasyPrint. You get both automatically, no extra steps required.

This is ideal for invoices, proposals, and any document that needs to look good on screen and in print.

Every rendering job creates its own folder inside output/, named with the template, a key variable value, and the date:

output/
consulting_agreement_acmepteltd_2026-03-01/
consulting_agreement_acmepteltd_2026-03-01.docx
consulting_agreement_acmepteltd_2026-03-01.pdf ← when Word or LibreOffice available

For HTML templates, you get both files in the same folder:

output/
invoice_acmepteltd_2026-03-01/
invoice_acmepteltd_2026-03-01.html
invoice_acmepteltd_2026-03-01.pdf

No files are overwritten. Each job is isolated, so you can render the same template repeatedly for different clients or dates without losing previous output.