Publishes a static site or a folder of Markdown docs to a hosted URL and returns a private, pre-authenticated share link. Use when the user wants to publish a site/html/markdowns or share with someone else.
Documents
markdown-publish
Try itPublishes Markdown to a public URL and returns the link. Use when the user asks to share, publish, host, or get a link for a page — or when you have produced a long page that is better delivered as a link than pasted inline. No authentication required. Pages are public and cannot be edited after publishing, so do not publish secrets or private data.
What it does
Publishes Markdown to a public URL and returns the link. Use when the user asks to share, publish, host, or get a link for a page — or when you have produced a long page that is better delivered as a link than pasted inline. No authentication required. Pages are public and cannot be edited after publishing, so do not publish secrets or private data.
The skill document
Publish Markdown
Publish Markdown to a public URL. Browsers receive HTML; command-line tools and agents receive plain text. No account or API key required.
Publication judgment
Pages are public and cannot be edited after publishing. Use your judgment about whether the user's request and content are appropriate to publish. To correct a page, publish a new one; removal can be requested through the page's report link.
Workflow
- Identify the Markdown file or compose the requested content in a
.mdfile. - Check that the Markdown is no larger than 1 MB.
- Publish it:
curl https://markdown.page/api/publish --data-binary @PATH_TO_FILE.md
- On success, return the URL printed by the command. The raw Markdown is available by appending
.mdto that URL.
Do not claim success unless the command succeeds and returns a https://markdown.page/... URL. For HTTP 429, explain that the fair-use rate limit was reached, back off before at most one retry, and do not loop.
Service details
- Authentication: none
- Maximum Markdown page: 1 MB (request envelope: 2 MB)
- Rendered page:
https://markdown.page/{slug} - Raw source:
https://markdown.page/{slug}.md - Read negotiation: browsers receive rendered HTML;
Accept: text/plainreceives plain text;.mdalways returns source Markdown - Supported syntax: standard Markdown and GFM, including tables, task lists, fenced code, and HTTP(S) images
- Links may use
https://,http://, ormailto:
Typical errors: 400 malformed or unsupported body; 413 page or request envelope exceeds its limit; 415 unsupported content type; 429 fair-use rate limit.
Official references: agent guide, API reference, and FAQ.
Related skills
Publish Markdown or HTML to a clean, shareable dochost.io link and hand the URL back to the user. Use when the user says "publish this", "share this as a lin...
Turn an idea into a live webpage in minutes, no code and no hosting setup. Use when a non-technical user wants to publish a webpage, landing page, one-pager, portfolio, or any simple site to the internet, or says things like put my idea online, publish my website, host my page, share my idea, or make a landing page. The agent writes the page, packages it, deploys to goclawgo, and returns a shareable URL.
Get a shareable web link to any markdown file by uploading it to your own S3-compatible bucket.
Host HTML pages and share PDF/Word/PPT
Publish HTML/JS/CSS demos as GitHub Gists and share gists.page preview links. Use when the user wants to share or preview a demo online, publish a snippet to gist, get a shareable preview link, or mentions gists.page or gist preview.