Markdown Preview可以处理什么?
Markdown Preview 用于在浏览器中格式化和校验数据,并清楚显示处理结果和限制。 已核对的功能: Live Markdown rendering, Raw HTML disabled, Link detection, Code fences.
Safe preview does not mean every link is trusted
Disabling raw HTML prevents embedded tags and scripts from executing in this preview. Still inspect destinations before opening links, and sanitize generated HTML again if it will be published elsewhere.
如何使用?
- Enter CommonMark-style Markdown in Markdown source or load the sample.
- Inspect the Safe preview as headings, lists, links, emphasis, and code fences render immediately.
- Copy the preview’s visible plain text when needed; this page does not export or execute raw HTML.
实际输入输出示例
Render a heading and emphasized status
输入
## Build status
**Ready** for review.输出
Build status
Ready for review.The preview presents the heading and bold text visually; Copy returns the visible text rather than generated HTML source.
常见错误与修复方法
| 现象 | 可能原因 | 修复方法 |
|---|---|---|
| An HTML tag appears as text instead of rendering. | Raw HTML is deliberately disabled. | Express the content in Markdown or use a separately sanitized HTML workflow. |
| Markdown renders differently in another product. | Markdown implementations add different extensions and parsing rules. | Test the source in the final target and limit content to features both implementations support. |
Important behavior of Markdown Preview
该工具的实际边界: The preview intentionally disables raw HTML and does not execute embedded scripts.
标准与实现参考
- CommonMark specification (opens in a new tab)Defines the core Markdown syntax used as the compatibility baseline.
- markdown-it official repository (opens in a new tab)Documents the renderer used with raw HTML disabled on this page.
关于Markdown Preview的常见问题
Does the Markdown Preview upload my input?
No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.
What input does the Markdown Preview accept?
It accepts CommonMark-style Markdown text. The workspace checks the input and reports malformed or unsupported values before it produces a result.
What does the Markdown Preview produce?
It produces a live rendered preview whose text can be copied. Copy and download controls appear when the output format supports them.
What limitation should I know?
The preview intentionally disables raw HTML and does not execute embedded scripts.
更新记录
本次实质更新: Markdown Preview: Added Live Markdown rendering, Raw HTML disabled, Link detection, Code fences, responsive controls, explicit runtime disclosure, and task-specific examples and limitations.