Formatwerk
markdown to docx
Parses GitHub-flavoured Markdown (marked 18) into native Word content with the docx library: heading styles (taken from your template by their built-in names, so German style ids work), real numbered/bulleted lists that restart per list, tables with header row and alignment, monospaced code, quotes, http/https/mailto links. A template DOCX supplies styles.xml and, unless overridden, page size and margins. Images only from data: URIs; nothing is fetched. ODT/PDF are not produced here.
POST https://format.halowerk.com/v1/markdown-to-docxInputs
| Field | Type | Required | Description |
|---|---|---|---|
| markdown | string | Yes | |
| title | string | No | |
| author | string | No | |
| subject | string | No | |
| template_docx_base64 | string | No | Optional reference DOCX whose styles (and page setup) are used. |
| page_size | string | No | |
| landscape | boolean | No | |
| margin_mm | object | No | Page margins in millimetres. |
| font | string | No | Body font when no template is given. |
| font_size_pt | number | No | |
| header_text | string | No | |
| footer_text | string | No | Footer with {page}/{pages}; empty string for none. Default "Page {page} of {pages}". |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"markdown"
],
"properties": {
"markdown": {
"type": "string",
"minLength": 1,
"maxLength": 500000
},
"title": {
"type": "string",
"maxLength": 200
},
"author": {
"type": "string",
"maxLength": 120
},
"subject": {
"type": "string",
"maxLength": 200
},
"template_docx_base64": {
"type": "string",
"maxLength": 14000000,
"description": "Optional reference DOCX whose styles (and page setup) are used."
},
"page_size": {
"type": "string",
"enum": [
"A4",
"A5",
"Letter",
"Legal"
]
},
"landscape": {
"type": "boolean",
"default": false
},
"margin_mm": {
"type": "object",
"additionalProperties": false,
"description": "Page margins in millimetres.",
"properties": {
"top": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bottom": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 100
}
}
},
"font": {
"type": "string",
"pattern": "^[A-Za-z0-9 \\-]{1,40}$",
"default": "Calibri",
"description": "Body font when no template is given."
},
"font_size_pt": {
"type": "number",
"minimum": 8,
"maximum": 16,
"default": 11
},
"header_text": {
"type": "string",
"maxLength": 200
},
"footer_text": {
"type": "string",
"maxLength": 200,
"description": "Footer with {page}/{pages}; empty string for none. Default \"Page {page} of {pages}\"."
}
}
}Published input example
{
"markdown": "# Quarterly report\n\nRevenue grew **12 %**.\n\n- Sensors\n- Services\n\n| Region | Revenue |\n|---|--:|\n| North | 120 |",
"title": "Q3"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Formatwerk0.004 USDC
accounting csv unify
POSThttps://format.halowerk.com/v1/accounting-csv-unifyDATEV booking batch files (EXTF/DTVF, category 21) are read by their documented field positions: amount and S/H become a signed amount relative to the account, Belegdatum TTMM is resolved within the fiscal year from the header. Other export
- Formatwerk0.005 USDC
avv checklist
POSThttps://format.halowerk.com/v1/avv-checklistChecklist after Art. 28 GDPR (Regulation (EU) 2016/679 Art. 28 (GDPR), https://eur-lex.europa.eu/eli/reg/2016/679/oj, German and English text retrieved from the EU Publications Office 2026-11-01): Art. 28(3) sentence 1 (subject-matter, dura
- Formatwerk0.004 USDC
bagit package
POSThttps://format.halowerk.com/v1/bagit-packageCreate: files go to data/, manifest-<alg>.txt and tagmanifest-<alg>.txt are written for SHA-256 (default), SHA-512 or legacy SHA-1/MD5, bag-info.txt gets your metadata plus Bagging-Date, Bag-Size and Payload-Oxum; paths are checked (no abso