Markdown viewer for AI-assisted document review. Click any element to copy file path + line number.
Vibe writing for Markdown. Point at anything, tell AI to fix it.
MarkdownPointer renders your Markdown and lets you click any element - headings, code blocks, table cells, Mermaid diagram nodes, KaTeX math - to copy a filepath:line reference. Paste it into your AI prompt, and the AI knows exactly where to look.
To change a node's color:
Click the node, paste the reference into your prompt, and ask the AI — done.
Color this node orange [c:\docs\architecture.md:6] mermaid node: mdp.exe
More prompt examples:
| Feature | Description |
|---|---|
| Point & Prompt | Click any rendered element to copy filepath:line to clipboard |
| Mermaid Diagrams | Flowchart, Sequence, Class, State, ER, Gantt, Pie, Git graph, Mindmap |
| KaTeX Math | Inline $...$ and block $$...$$ |
| SVG | Embedded font support |
| Recent Files | Quick access with pin support |
| Tab Dock/Undock | Drag tabs between windows or detach to a new window |
| Always on Top | Pin the window above other apps for reference |
| Live Reload | Auto-refresh on file changes |
| Export | .docx / .pptx via Pandoc (Mermaid/SVG rendered as images) |
| MCP Server | Let Claude open, navigate, and export your documents |
In a PowerShell 7 console:
Install-Module MarkdownPointermdp .\README.md # Open a file
mdp .\docs\*.md # Open multiple files
mdp # Just launch the viewerConnect MarkdownPointer to Claude Code so your AI can open and navigate documents directly.
claude mcp add mdp -s user -- "$(Get-MarkdownPointerMCPPath)"Then just ask Claude:
Run this in PowerShell to get the path for your environment:
Get-MarkdownPointerMCPPath -EscapeThen add to claude_desktop_config.json:
{
"mcpServers": {
"mdp": {
"command": "<paste the output here>"
}
}
}| Tool | Description |
|---|---|
show_markdown | Open files and scroll to a line |
get_status | Get current window/tab state |
slide_control | Navigate reveal.js slides |
export_document | Export to .docx / .pptx via Pandoc |
| Shortcut | Action |
|---|---|
Ctrl+O | Open file |
Ctrl+F | Find in page |
Ctrl+G | Go to line |
Ctrl+P | |
Ctrl+W / Ctrl+F4 | Close tab |
Ctrl+Tab / Ctrl+Shift+Tab | Switch tabs |
Mouse Wheel | Scroll |
Ctrl+Mouse Wheel | Zoom |
F5 | Reload |
git clone https://github.com/yotsuda/MarkdownPointer.git
cd MarkdownPointer
.\Build-Deploy.ps1MIT