creating-gomarkdown-paste

📁 alecplayground/gomarkdown-paste-skill 📅 1 day ago
1
总安装量
1
周安装量
#75814
全站排名
安装命令
npx skills add https://github.com/alecplayground/gomarkdown-paste-skill --skill creating-gomarkdown-paste

Agent 安装分布

amp 1
cline 1
openclaw 1
opencode 1
cursor 1
kimi-cli 1

Skill 文档

Creating a GoMarkdown Paste

Create a markdown paste on gomarkdown.online and return the shareable URL.

How to create a paste

Send a POST request to the GoMarkdown API:

curl -s https://gomarkdown.online/api/paste \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{"markdown": "<MARKDOWN_CONTENT>"}'

The response is JSON:

{
  "id": "abc1234567",
  "url": "/paste/abc1234567"
}

The shareable URL is https://gomarkdown.online + the url field from the response.

Example: If the response url is /paste/abc1234567, the full URL is https://gomarkdown.online/paste/abc1234567.

Important details

  • Maximum paste size: 500KB
  • No authentication required
  • The markdown field in the request body is required and must be a string
  • Supports all standard markdown features plus Mermaid diagrams
  • Escape JSON special characters in the markdown content (newlines as \n, quotes as \", backslashes as \\)
  • On success the API returns HTTP 201
  • On invalid content the API returns HTTP 400 with an error message

After creating the paste

Always return the full shareable URL to the user: https://gomarkdown.online/paste/<id>