# mdgarden: a local markdown reader

- Author: Eishan Lawrence
- Published: 2026-04-05 (updated 2026-11-14)
- URL: https://www.eishanlawrence.com/blog/mdgarden

> mdgarden is a small CLI that renders a folder of Markdown files in the browser: file tree, working relative links and images, split panes, live reload, no config.

I had a lot of markdown files around. CLAUDE.md files, skills, prompts, docs folders. I wanted to read them as a set, without opening each one in an editor.

The options I knew didn't fit. Static site generators need setup. IDE previews show one file at a time. GitHub needs a push and a connection.

So I wrote [mdgarden](https://github.com/eishan05/mdgarden).

## What it does

Run `mdgarden show` in a directory. It finds `.md` and `.markdown` files, lists them in a sidebar tree, and renders them in the browser.

- Relative links and images work.
- You can open files in split panes.
- It refreshes when a file changes.

## How it's built

The backend has three dependencies. Express serves files, chokidar watches them, and open launches the browser. The frontend is React with react-markdown and a few rehype plugins for syntax highlighting and GFM. It installs with `npm link`.

## What it doesn't do

No config, plugins, build step, frontmatter parsing, or database. It reads files from disk and renders them. If you need more, Obsidian or Docusaurus are better fits.
