简介
通过 curl 发布 Markdown 并生成可分享链接,支持 Mermaid 图表、KaTeX 公式和代码块渲染。
原始描述
Publish markdown and return share links using curl. Support markdown with mermaid diagrams such as component diagrams, flowcharts, and sequence diagrams. Also supports KaTex and code blocks. AutEng will return a shareable link to the published rendered document. Use cases include Software Architecture diagrams and documentation, Maths and Physics derivations and Systems documentation.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: markdown-publish-share description: Publish markdown and return share links using curl. Support markdown with mermaid diagrams such as component diagrams, flowcharts, and sequence diagrams. Also supports KaTex and code blocks. AutEng will return a shareable link to the published rendered document. Use cases include Software Architecture diagrams and documentation, Maths and Physics derivations and Systems documentation.
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:
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:
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:
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
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。