ClaudeCodeMod

All shelves / Mods / Review

mdview

By xuanji86

mdview is a Claude Code review mod by xuanji86.

Opens a clicked Markdown path as a rendered pane beside the conversation, pictures included, and sends an edit when you type one in a block.

Draws

Install

The marketplace name is claude-mdview.

In Claude Code
/plugin marketplace add xuanji86/claude-mdview
/plugin install mdview@claude-mdview
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.1
License
MIT
Repo stars
6
Last change
2026-10-15

What it can reach

  • Draws in the session
  • Reads this turn's file edits
  • Calls another program on this machine

Claude Code 2.1.287 or later (tested on 2.1.300), in the fullscreen layout. Pictures are sharp in Ghostty and kitty. iTerm2 3.7 or later needs CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1, and other terminals get colored half blocks. Non-PNG images and half blocks go through macOS sips. The author says it makes no network requests, stores nothing across sessions, and calls no model of its own. Enter in a pencil bar sends the text you typed as your prompt. The pane redraws as Claude's edit lands.

The marketplace name is claude-mdview, not mdview.

Demo

A markdown file rendered in a pane beside the Claude Code conversation
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • classic.CwdChangedA Claude Code event
  • tool.callAround a tool call, where it can hold onemcp__mdview__show
  • command.runWhen you run its slash command/md
  • ui.closeWhen its pane closes
  • ui.renderDraws into the sessionAssistantMessageToolUseUserMessagePane
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /mdShow a file rendered in a side pane; `mode` switches what a click opens

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
xuanji86
Category
Review
Marketplace
claude-mdview
Repo
xuanji86/claude-mdview
Version
1.0.1
License
MIT
Repo stars
6
Last change
2026-10-15
Language
TypeScript
Files
15

Other mods in Review

mermaid-modngothanhlucDraws mermaid blocks in Claude's replies as Unicode diagrams in place, and leaves the stored message as Mermaid source.accountable-reviewwyeworksShows a review run on the status line, then publishes a review agenda for a pull request as a private Claude Artifact page.repowiserepowise-devDraws margin notes under edits, a change review under the answer, and a /lens pane of what an edit reaches.hal-grammar-checkvintaDraws grammar corrections above the prompt while you type, with explanations in your language: English by default, or Chinese, Japanese, or Korean.sc-modskylesnowschwartzDraws mermaid diagrams in replies as text, jump buttons above the prompt, and a copy button under each reply.glamour-darkTickloopDraws the model's text replies in glamour's default dark style.tool-linesTickloopDraws each tool call as one compact line and hides its result block.reply-viewYrzheDraws pasted images, the last reply's media and links, and a copy button above the prompt.translate-viewYrzheTranslates each prompt before sending it, and draws the reply's translation in a side pane.cc-image-viewGGGODLINDraws thumbnails of the images you paste, above the prompt and under the prompts you sent.paste-previewalan890104Draws thumbnails of the images you paste, and opens an editor so Claude gets the marked-up picture.claude-jev0x7067Holds a commandHas Jev judge each edit against your instruction files and cite a broken rule by file and line, and sends a thin subagent brief back once.
All 145 in Review