@meenauh/md-preview

Small browser Markdown preview extension for pi

Packages

Package details

extension

Install @meenauh/md-preview from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@meenauh/md-preview
Package
@meenauh/md-preview
Version
0.1.1
Published
Aug 24, 2026
Downloads
327/mo · 8/wk
Author
meenauh
License
MIT
Types
extension
Size
14.9 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@meenauh/md-preview

A small browser Markdown preview extension for pi.

Install

pi install npm:@meenauh/md-preview

Then restart pi or run /reload.

Use

/md-preview README.md
/md-preview @README.md
/md-preview @"docs/my file.md"

The extension opens a temporary HTML preview in the default browser. It supports common Markdown headings, links, images, tables, lists, code fences, blockquotes, front matter, and safe inline HTML. In Termux, it serves the preview from 127.0.0.1 so Android browsers can read it without accessing Termux-only file paths.

Development

Try the local extension without installing it:

pi -e ./index.ts