explaingit

vicmpen/markview

Analysis updated 2026-05-18

2HTMLAudience · developerComplexity · 1/5LicenseSetup · easy

TLDR

A Claude Code plugin that renders a folder's markdown and HTML files as a styled, browsable local web page.

Mindmap

mindmap
  root((repo))
    What it does
      Renders markdown files
      Renders HTML files
      Local styled viewer
    Tech stack
      Node.js
      marked
      DOMPurify
    Use cases
      Preview docs in browser
      Sidebar navigation
      Copy raw source
    Audience
      Claude Code users
      Developers
    License
      MIT permissive

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Preview a folder's markdown and HTML files as a styled web page from inside Claude Code.

USE CASE 2

Browse project documentation with a sidebar instead of opening each file individually.

USE CASE 3

Quickly copy a document's raw source while reviewing rendered markdown.

What is it built with?

Node.jsHTMLmarkedDOMPurify

How does it compare?

vicmpen/markview100/talk_stockalexcybernetic/playground-ai
Stars222
LanguageHTMLHTMLHTML
Last pushed2022-03-24
MaintenanceDormant
Setup difficultyeasymoderateeasy
Complexity1/53/51/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Claude Code and Node.js 18 or newer, no npm install needed.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

markview is a plugin for Claude Code, Anthropic's command line coding assistant, that lets you preview a folder's markdown and HTML files in a styled, browsable web page instead of reading raw text files. You simply ask Claude something like preview the markdown files here, or run the /markview:start command, and it starts a small local web server showing every document in that folder in a sidebar, with the selected file rendered next to it using clean typography. Markdown files are rendered using a bundled copy of the marked library, the same kind of engine that turns GitHub-flavored markdown into readable HTML, and the output is cleaned up with DOMPurify to keep it safe. HTML files in the folder show up alongside the markdown ones and get rendered too. The sidebar scans the target directory recursively, skipping folders like node_modules and hidden dot-directories, and you can hide or show it as needed. There's also a one-click button to copy a document's original raw source. The tool has no external dependencies at all, relying only on what's already built into Node.js, so there's nothing extra to install with npm. For safety, the local server only listens on your own machine, automatically picks a different port if its default one is already taken, and blocks any attempt to reach files outside the folder you pointed it at. To use markview you need Claude Code installed along with Node.js version 18 or newer. Installing it is done from inside Claude Code itself, by adding the plugin marketplace and installing the plugin with two short commands. Once installed, you can start it for any directory, which defaults to your current one if you don't specify a path, and each directory you preview gets its own server instance running on its own port. A separate stop command shuts down all running markview servers at once. The project includes a small test suite you can run directly with Node's built-in test runner, no extra setup required. It's released under the MIT license.

Copy-paste prompts

Prompt 1
Install this markview plugin in Claude Code and preview the markdown files in my project.
Prompt 2
Show me how to start and stop the markview server for a specific directory.
Prompt 3
Explain how markview keeps the local preview server safe from path traversal.
Prompt 4
Walk me through running this project's test suite with Node's built-in test runner.

Frequently asked questions

What is markview?

A Claude Code plugin that renders a folder's markdown and HTML files as a styled, browsable local web page.

What language is markview written in?

Mainly HTML. The stack also includes Node.js, HTML, marked.

What license does markview use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is markview to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is markview for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.