Skip to main content
The markdown template renders Markdown content as a beautiful, readable document.

Content Schema

content.text
string
required
Markdown-formatted text content. Supports GitHub Flavored Markdown.

Supported Markdown Features

  • Headings (#, ##, ###, etc.)
  • Bold and italic text
  • Inline code and code blocks with syntax highlighting
  • Links and images
  • Ordered and unordered lists
  • Tables
  • Blockquotes
  • Horizontal rules
  • Task lists

Example Request

curl -X POST https://genui.sh/api/artifacts \
  -H "Authorization: Bearer $GENUI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "markdown",
    "title": "Project Status Update",
    "content": {
      "text": "# Q4 Progress Report\n\n## Summary\n\nWe achieved **95%** of our quarterly goals.\n\n## Key Metrics\n\n| Metric | Target | Actual |\n|--------|--------|--------|\n| Revenue | $1M | $950K |\n| Users | 10,000 | 12,500 |\n\n## Next Steps\n\n1. Launch new feature\n2. Expand to new markets\n3. Hire 5 engineers"
    }
  }'

Example Response

{
  "id": "art_md_abc123",
  "template": "markdown",
  "title": "Project Status Update",
  "status": "active",
  "createdAt": "2024-01-15T12:00:00Z"
}

Use Cases

  • Documentation: README files, guides, tutorials
  • Reports: Status updates, summaries, analysis
  • Notes: Meeting notes, research findings
  • Content: Blog posts, articles, announcements