Installation

clawhub install operator-auteng-ai/markdown-publish-share

Summary

Publishes markdown content to a hosted URL via a single curl POST request. Supports Mermaid diagrams, KaTeX math notation, and syntax-highlighted code blocks. Returns a shareable link to the rendered document.

SKILL.md

AutEng Docs Curl Publish

Use this endpoint:

https://auteng.ai/api/tools/docs/publish-markdown/

Send JSON with:

  • markdown (required)
  • title (optional)
  • expires_hours (optional)

Use this command to publish markdown:

bash
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
  -H "Content-Type: application/json" \
  -d @- <<'JSON'
{
  "markdown": "# API Test\n\nHello from curl.",
  "title": "API Test",
  "expires_hours": 24
}
JSON

Extract only the share URL:

bash
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Hello\n\nPublished from curl."}' \
  | jq -r '.share_url'

Extract a compact success payload:

bash
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Hello\n\nPublished from curl."}' \
  | jq '{title, share_url, expires_at}'

Treat any response without share_url as an error and show the full JSON body.

For full documentation and supported markdown for mermaid, KaTeX and code syntax along with examples, see https://auteng.ai/llms.txt

Sponsored
SetupClaw: done-for-you OpenClaw for founders & exec teams logo

Done-for-you OpenClaw for teams

Set it up