@zhachory1/mewrite-markdown-preview

Rendered markdown + LaTeX preview for mewrite-code, with terminal, browser, and PDF output

Packages

Package details

extension

Install @zhachory1/mewrite-markdown-preview from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zhachory1/mewrite-markdown-preview
Package
@zhachory1/mewrite-markdown-preview
Version
0.65.10
Published
Jun 19, 2026
Downloads
44/mo · 44/wk
Author
zhachory1
License
MIT
Types
extension
Size
130.3 KB
Dependencies
1 dependency · 2 peers
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

@zhachory1/mewrite-markdown-preview

Rendered markdown + LaTeX preview for Me Write Code — terminal, browser, and PDF output.

Loaded as a @zhachory1/mewrite-code extension; not intended as a standalone library.

Install

Bundled with @zhachory1/mewrite-code by default. To load explicitly:

caveman --extension @zhachory1/mewrite-markdown-preview "render this README"

What it does

  • Renders markdown to a paginated, styled terminal view.
  • Exports the same rendered output to a single-file HTML page or PDF via headless Chrome.
  • Handles LaTeX math via KaTeX.

License

MIT — see LICENSE.