Inkspan › cURL
Use the Inkspan /v1/generate/markdown endpoint to convert Markdown to PDF in cURL. It runs as a managed API — no headless-browser infrastructure, fonts, or scaling to maintain. Authenticate with your API key and send a single POST request.
curl -X POST https://api.inkspan.dev/v1/generate/markdown \
-H "X-API-Key: ink_live_..." \
-H "Content-Type: application/json" \
-d '{"markdown":"# Title"}' --output out.pdf
X-API-Key header.Related: generate a PDF from HTML · generate a PDF from a template · merge PDF files