Paste your Markdown below and choose an export option.
Advanced Features
- Mermaid Diagrams - Create flowcharts, sequence diagrams, and more using
```mermaidcode blocks - LaTeX Equations - Render mathematical expressions using
$...$for inline and$$...$$for display equations - Syntax Highlighting - Code blocks are automatically highlighted
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.
Advanced Features
Using Mermaid Diagrams
Include Mermaid diagrams in your markdown using code blocks with the mermaid language identifier:
```mermaid
graph TD
A[Start] --> B{Is it raining?}
B -->|Yes| C[Take umbrella]
B -->|No| D[Enjoy the weather]
```
Using LaTeX Equations
Include mathematical expressions using LaTeX syntax:
- Inline equations: Use single dollar signs
$E = mc^2$ - Display equations: Use double dollar signs
$$ \frac{d}{dx}[x^n] = nx^{n-1} $$
Note: For currency symbols in text, escape the dollar sign with a backslash: \$5.99
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}