md2pdf
v1.0.0Free markdown to PDF. No account or API key, nothing stored.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_markdown_spec Get the markdown format
The full markdown format md2pdf accepts: markdown features, signature lines, fill-in fields, styles and limits.
validate_markdown Check a document
Check markdown before making the PDF. Returns the title (which names the file), style, signature lines and signers found, whether a PDF can be made, and, separately, any problems md2sign would raise if the document were sent for e-signature, with line numbers.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The full markdown document. |
render_pdf Make a PDF
Render markdown as an A4 PDF. The PDF comes back inside this result as an embedded application/pdf resource (base64); nothing is stored and there is no download link. If you can run shell commands, save the file directly instead: curl -sS -X POST https://md2pdf.free/api/pdf -H "Content-Type: text/markdown" --data-binary @document.md -o document.pdf
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The full markdown document. Start with "# Title": it names the file. |
letterhead | string | Name in the formal style's letterhead band, e.g. a company name. Defaults to the document title. |
style | string | classic (default), modern or formal. Overrides any <!-- md2sign:style=... --> line. |
send_for_signature Send for e-signature with md2sign
Get a document e-signed instead of printed. Nothing is sent to anyone: this hands the markdown to md2sign (same company) and returns a link your human opens to sign up or log in, where the document waits as a draft ready to send. The link works once and expires after 24 hours; md2sign keeps the document until then. Also returns how to connect md2sign's own MCP server so you can send it directly. Use when the document has signature lines and your human wants it signed.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The full markdown document, with a [[signature: Name <email>]] line for each signer. |