markdown-publish-share

TotalClaw 作者 totalclaw

使用curl 发布markdown 并返回共享链接。支持组件图、流程图、序列图等美人鱼图的 Markdown。还支持 KaTex 和代码块。 AutEng 将返回已发布渲染文档的可共享链接。用例包括软件架构图和文档、数学和物理推导以及系统文档。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~operator-auteng-ai-markdown-publish-share
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~operator-auteng-ai-markdown-publish-share/file -o operator-auteng-ai-markdown-publish-share.md
## 概述(中文)

使用curl 发布markdown 并返回共享链接。支持组件图、流程图、序列图等美人鱼图的 Markdown。还支持 KaTex 和代码块。 AutEng 将返回已发布渲染文档的可共享链接。用例包括软件架构图和文档、数学和物理推导以及系统文档。

## 原文

# 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