跳到正文
TakoAPI
返回技能列表

markdown-viewer

由 parkertoddbrooks 提供

Web & Frontend Development
634下载量由 clawskills.sh 提供
2星标
2浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Check if mdview server is running on 127.0.0.1:3000

  2. 2

    Start mdview in the background if not already running

  3. 3

    Construct the view URL with the absolute path to README.md

  4. 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 或你在用的任意编程智能体里。

链接