Paste your Markdown below and choose an export option.
API Usage
You can also use our API to convert markdown programmatically. Here are some examples using cURL:
Convert to DOCX
curl -X POST -H "Content-Type: application/json" \
-d '{"markdown": "# Hello World"}' \
https://md.colinknapp.com/api/convert
Convert to HTML (Professional Template)
curl -X POST -H "Content-Type: application/json" \
-d '{"markdown": "# Hello World", "format": "html", "template": "professional",
"title": "Document Title", "subtitle": "Document Subtitle",
"contact": "Contact Information", "footer": "Footer Text"}' \
https://md.colinknapp.com/api/convert
Convert to HTML and Send to Haste
curl -X POST -H "Content-Type: application/json" \
-d '{"markdown": "# Hello World", "format": "html", "template": "professional",
"send_to_haste": true}' \
https://md.colinknapp.com/api/convert
When using send_to_haste: true
, the response will include haste_key
, haste_url
, and preview_url
fields.
Haste Integration
This application integrates with haste.nixc.us to allow sharing HTML output without requiring server-side storage:
- HTML Sharing: Convert markdown to HTML and share via a unique URL
- Preview Endpoint: View shared HTML documents through the application's preview endpoint
To use this feature, check the "Send HTML to haste.nixc.us" option before converting.
The preview URL format is: https://md.colinknapp.com/haste/{haste_key}