LiquidPDF
German reference letter (Arbeitszeugnis) from Markdown
A text document rather than a table: the paragraphs arrive as Markdown, markdown turns them into HTML with lists and emphasis, and the template sets a serif face, justified text with hyphenation and a signature block for two signers that stays together on one page.
Free plan, no card. You get your own copy in the editor, published and ready for the API.
Change a value, watch the document follow
This is Formfeed’s template engine, running in your browser. Nothing you type is sent or saved.
Loading the engine …

The document as the engine writes it, in pages as the API prints the PDF from it. Shown here on one sheet. The PDF breaks it into pages.
You get your own copy in the editor, with the example’s data. What you changed here stays on this page.
Rendered result
What this example shows
- Each entry of
reference.sectionsis Markdown;markdownrenders paragraphs, the list of duties and the emphasis, so the text can come straight from an HR tool. date: "d. MMMM yyyy"with the localede-DEwrites12. April 1990and30. September 2026.hyphens: autowithtext-align: justifygives even lines; Chromium hyphenates German because the document language follows the locale.- The serif face loads from Google Fonts in
head.html; nothing has to be installed anywhere. - The place, date and both signature lines sit in one block with
break-inside: avoid.
Helpers used
Template folder
<header>
<p class="company">{{ company.name | upper }}</p>
<p class="muted">{{ company.street }} · {{ company.city }}</p>
</header>
<h1>{{ reference.kind }}</h1>
<p>
{{ employee.salutation }} {{ employee.name }}, geboren am {{ employee.born | date: "d. MMMM yyyy" }},
war vom {{ employee.from | date: "d. MMMM yyyy" }} bis zum {{ employee.until | date: "d. MMMM yyyy" }}
als {{ employee.role }} in unserem Unternehmen tätig.
</p>
{% for section in reference.sections %}
<section>{{ section | markdown }}</section>
{% endfor %}
<footer>
<p>{{ reference.place }}, {{ employee.until | date: "d. MMMM yyyy" }}</p>
<div class="signatures">
{% for signer in reference.signers %}
<div><span></span>{{ signer.name }}<br><small>{{ signer.role }}</small></div>
{% endfor %}
</div>
</footer>body { font-family: 'Source Serif 4', serif; font-size: 11pt; line-height: 1.6; color: #111827; }
header { padding-bottom: 5mm; border-bottom: 1px solid #9ca3af; }
.company { margin: 0; font-size: 12pt; font-weight: 600; letter-spacing: 0.12em; }
.muted { margin: 1mm 0 0; font-size: 9pt; color: #6b7280; }
h1 { margin: 16mm 0 8mm; font-size: 18pt; font-weight: 600; text-align: center; }
p { margin: 0 0 4mm; text-align: justify; hyphens: auto; }
section ul { margin: 0 0 4mm; padding-left: 6mm; }
footer { margin-top: 12mm; break-inside: avoid; }
.signatures { display: flex; gap: 14mm; margin-top: 16mm; }
.signatures div { flex: 1; font-size: 10pt; }
.signatures span { display: block; margin-bottom: 2mm; border-top: 1px solid #111827; }
small { color: #6b7280; }<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600&display=swap">{
"pdf": {
"metadata": {
"title": "{{ reference.kind }}"
}
},
"paper": {
"format": "A4"
},
"margin": {
"top": "28mm",
"right": "25mm",
"bottom": "25mm",
"left": "25mm"
},
"locale": "de-DE",
"timezone": "Europe/Berlin"
}{
"company": {
"name": "Fennlor Studio GmbH",
"street": "Musterstraße 1",
"city": "12345 Musterstadt",
"phone": "+49 000 0000000",
"email": "hallo@fennlor.example",
"iban": "DE36000000000000000000",
"bic": "XXXXDEXXXXX",
"vat_id": "DE000000000",
"register": "Amtsgericht Musterstadt, HRB 00000",
"director": "Erika Mustermann"
},
"employee": {
"salutation": "Frau",
"name": "Erika Mustermann",
"born": "1990-04-12",
"from": "2021-03-01",
"until": "2026-09-30",
"role": "Senior Software Engineer"
},
"reference": {
"kind": "Arbeitszeugnis",
"place": "Musterstadt",
"signers": [
{
"name": "Max Mustermann",
"role": "Geschäftsführung"
},
{
"name": "Jane Doe",
"role": "Leitung Entwicklung"
}
],
"sections": [
"Die Fennlor Studio GmbH entwickelt Software für die Dokumentenerstellung. Zu den Aufgaben von Frau Mustermann gehörten:\n\n- Konzeption und Umsetzung der Rendering-Pipeline\n- fachliche Führung eines Teams von vier Entwicklerinnen und Entwicklern\n- Abstimmung mit Kunden in technischen Fragen",
"Frau Mustermann verfügt über ein **umfassendes und fundiertes Fachwissen**, das sie stets sicher und erfolgreich in der Praxis einsetzte. Sie arbeitete jederzeit selbstständig, sorgfältig und zielorientiert und erledigte ihre Aufgaben stets zu unserer vollsten Zufriedenheit.",
"Ihr Verhalten gegenüber Vorgesetzten, Kolleginnen, Kollegen und Kunden war jederzeit vorbildlich.",
"Frau Mustermann verlässt unser Unternehmen auf eigenen Wunsch. Wir bedauern ihre Entscheidung, danken ihr für die stets sehr gute Zusammenarbeit und wünschen ihr beruflich wie persönlich alles Gute und weiterhin viel Erfolg."
]
}
}Render it through the API
Save the sample data as data.json and send it with the template’s name. Each language uses its SDK; curl sends the same JSON to the REST API, as any other language can. Renders with a key that starts with ff_test_ are not metered; on the Free plan they carry a small watermark.
jq '{template: "arbeitszeugnis", data: ., filename: "arbeitszeugnis-erika-mustermann.pdf"}' data.json \
| curl https://api-eu.formfeed.dev/v1/renders \
-H "Authorization: Bearer ff_test_..." \
-H "Content-Type: application/json" \
--data-binary @-import { Formfeed } from '@formfeed/sdk';
import data from './data.json' with { type: 'json' };
const formfeed = new Formfeed({ apiKey: process.env.FORMFEED_API_KEY! });
const render = await formfeed.renders.create({
template: 'arbeitszeugnis',
data,
filename: 'arbeitszeugnis-erika-mustermann.pdf',
});
console.log(render.status, render.download_url);import json
import os
from formfeed import Formfeed
formfeed = Formfeed(api_key=os.environ["FORMFEED_API_KEY"])
with open("data.json", encoding="utf-8") as file:
data = json.load(file)
render = formfeed.renders.create(
template="arbeitszeugnis",
data=data,
filename="arbeitszeugnis-erika-mustermann.pdf",
)
print(render.status, render.download_url)<?php
require __DIR__ . '/vendor/autoload.php';
$formfeed = new Formfeed\Client(apiKey: getenv('FORMFEED_API_KEY'));
$render = $formfeed->renders->create([
'template' => 'arbeitszeugnis',
'data' => json_decode(file_get_contents('data.json'), true),
'filename' => 'arbeitszeugnis-erika-mustermann.pdf',
]);
echo $render->status, ' ', $render->downloadUrl, PHP_EOL;package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
formfeed "github.com/formfeed-dev/formfeed-go"
)
func main() {
client := formfeed.NewClient(os.Getenv("FORMFEED_API_KEY"))
contents, err := os.ReadFile("data.json")
if err != nil {
log.Fatal(err)
}
var data map[string]any
if err := json.Unmarshal(contents, &data); err != nil {
log.Fatal(err)
}
render, err := client.Renders.Create(context.Background(), formfeed.RenderRequest{
Template: "arbeitszeugnis",
Data: data,
Filename: "arbeitszeugnis-erika-mustermann.pdf",
})
if err != nil {
log.Fatal(err)
}
fmt.Println(render.Status, render.DownloadURL)
}using System.Text.Json;
using Formfeed;
using var formfeed = new FormfeedClient(Environment.GetEnvironmentVariable("FORMFEED_API_KEY"));
var render = await formfeed.Renders.CreateAsync(new RenderRequest
{
Template = "arbeitszeugnis",
Data = JsonSerializer.Deserialize<Dictionary<string, object?>>(File.ReadAllText("data.json")),
Filename = "arbeitszeugnis-erika-mustermann.pdf",
});
Console.WriteLine($"{render.Status} {render.DownloadUrl}");import com.fasterxml.jackson.databind.ObjectMapper;
import dev.formfeed.Formfeed;
import dev.formfeed.RenderRequest;
import java.io.File;
public class Render {
public static void main(String[] args) throws Exception {
var formfeed = Formfeed.builder().apiKey(System.getenv("FORMFEED_API_KEY")).build();
var data = new ObjectMapper().readTree(new File("data.json"));
var request = RenderRequest.template("arbeitszeugnis")
.data(data)
.filename("arbeitszeugnis-erika-mustermann.pdf");
var render = formfeed.renders().create(request);
System.out.println(render.getStatus() + " " + render.getDownloadUrl());
}
}require "json"
require "formfeed"
formfeed = Formfeed::Client.new(api_key: ENV.fetch("FORMFEED_API_KEY"))
render = formfeed.renders.create(
template: "arbeitszeugnis",
data: JSON.parse(File.read("data.json")),
filename: "arbeitszeugnis-erika-mustermann.pdf"
)
puts "#{render.status} #{render.download_url}"Start rendering today
The free plan includes 100 units a month and free test renders. Change plans when you need more.