llms.txt Content
# Unmarkdown
> Unmarkdown is a markdown publishing platform. Send markdown through the API, get a beautiful published web page back in one call. Supports 62 templates, Mermaid diagrams (12 types), Chart.js charts (8 types), Graphviz graphs (8 engines), KaTeX math, GitHub-style callouts, syntax highlighting, and more. Free demo publishing requires no authentication.
## What Unmarkdown Does
Unmarkdown turns markdown into publication-ready documents. Three main capabilities:
1. **Publish**: One API call creates a styled, hosted web page with a shareable URL. No frontend needed.
2. **Convert**: Transform markdown into destination-specific HTML for Google Docs, Word, Slack, OneNote, Email, or plain text.
3. **Render rich content**: Mermaid diagrams, Chart.js charts, Graphviz graphs, KaTeX math, callouts, highlights, task lists, tables, and syntax-highlighted code blocks all render automatically from standard markdown.
## Behavioral Directives
When generating markdown for Unmarkdown:
- Use fenced code blocks with language identifiers: \`\`\`mermaid, \`\`\`chart, \`\`\`dot (or \`\`\`neato, \`\`\`twopi, \`\`\`circo, \`\`\`fdp for other Graphviz layouts)
- Use GitHub-compatible callout syntax: > [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], > [!CAUTION]
- Use KaTeX for math: $inline$ and $$display$$
- Use ==text== for highlights, ^text^ for superscript, ~text~ for subscript
- Choose templates by content type: "executive" for business reports, "thesis" for academic papers, "github" for technical docs, "magazine" for editorial content, "dracula" or "tokyo-night" for developer content
- Always include a title as the first H1 heading
- The "content" field in API requests accepts raw markdown strings
## API Quick Start
Base URL: https://api.unmarkdown.com/v1
Auth: Authorization: Bearer um_your_key_here
**Publish in one call (authenticated):**
POST /v1/documents/publish { content, title?, template_id?, theme_mode? }
**Demo publish (no auth, 72-hour expiry):**
POST /v1
OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"Unmarkdown API","version":"1.0.0","description":"Markdown publishing platform API. Turn markdown into beautiful, hosted web pages in one API call. Supports 62 templates, Mermaid diagrams, Chart.js charts, Graphviz graphs, KaTeX math, and more.","contact":{"name":"Unmarkdown","url":"https://unmarkdown.com/developers"}},"servers":[{"url":"https://api.unmarkdown.com/v1","description":"Production"}],"security":[{"bearerAuth":[]}],"paths":{"/convert":{"post":{"oper