markdown-viewer
由 parkertoddbrooks 提供
Web & Frontend Development简介
Live markdown viewer for AI pair-editing.
描述
该技能的功能
A local server that renders markdown files in a browser with live reload on save. Designed for AI pair-editing sessions where an agent writes or edits .md files and the user sees updates instantly. No external services or accounts required.
Unlike editor plugins that require specific IDE setup, this works with any AI agent and any browser via a simple local HTTP server with zero npm dependencies.
何时使用
- Previewing AI-generated documentation as it's being written
- Reviewing README edits in real time during a coding session
- Watching multiple markdown files side by side in separate tabs
- Rendering Mermaid diagrams and KaTeX math while editing
- Checking GitHub Flavored Markdown formatting before committing
示例工作流
User asks: open my project README in the markdown viewer
- 1
Check if mdview server is running on 127.0.0.1:3000
- 2
Start mdview in the background if not already running
- 3
Construct the view URL with the absolute path to README.md
- 4
Open the URL in the default browser using the OS-appropriate command
Browser tab opens showing README.md with live reload; subsequent saves to the file re-render the page automatically
安装
clawhub install parkertoddbrooks/markdown-viewer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。