markdown · v1

Markdown Preview

Render a safe subset of Markdown into HTML for quick previews.

Run now REST API / MCP Manifest

Sample input

# 标题

- 支持 **粗体** 与 *斜体*
- `行内代码` 与链接 [toolkit](https://toolkit.fun)

> 引用一行

API / MCP call

curl -X POST https://cn.toolkit.fun/api/v1/t/markdown \
  -H "Authorization: Bearer tk_..." \
  -H "Content-Type: application/json" \
  -d '{"input":"...","params":{}}'

MCP server: https://cn.toolkit.fun/api/mcp

Shortest path for an agent

Read the manifest first, then call the same run contract used by the web UI. The input, output, permissions, and receipt stay consistent across REST and MCP.

Manifest: https://cn.toolkit.fun/api/v1/registry/tools/markdown/manifest
REST: POST https://cn.toolkit.fun/api/v1/t/markdown
MCP: https://cn.toolkit.fun/api/mcp

Who it is for

Use this tool directly when you need Markdown Preview, want to chain it into a workflow, or want to expose it to an agent over REST API or MCP. This page carries the sample, call syntax, manifest, and version so search engines and generative retrieval can describe the tool accurately.

Notes

Render a safe subset of Markdown into HTML for quick previews.

Frequently asked questions

What does Markdown Preview do?

Render a safe subset of Markdown into HTML for quick previews.

How do I use Markdown Preview online?

Click “Open workbench” to open Markdown Preview, provide your input, and run the tool.

What input and output does Markdown Preview use?

Declared input type: text. Declared output type: text.