@juliusbrussee/caveman-markdown-preview

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

Packages

Package details

extension

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

$ pi install npm:@juliusbrussee/caveman-markdown-preview
Package
@juliusbrussee/caveman-markdown-preview
Version
0.9.6
Published
May 18, 2026
Downloads
not available
Author
juliusbrussee
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

@juliusbrussee/caveman-markdown-preview

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

Loaded as a @juliusbrussee/caveman-code extension; not intended as a standalone library.

Install

Bundled with @juliusbrussee/caveman-code by default. To load explicitly:

caveman --extension @juliusbrussee/caveman-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.