Install
Install with PiG
pig install npm:@zhachory1/mewrite-markdown-previewInstall with Pi
pi install npm:@zhachory1/mewrite-markdown-previewPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.6.5 (README.md). PiG does not review it.
@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.
Attribution
Derived from pi-markdown-preview
by Oliver MacLaren, used under the MIT License. The original copyright and
permission notice is preserved in LICENSE.
Install
Bundled with @zhachory1/mewrite-code by default. To load explicitly:
mewrite --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. Includes the original copyright notice from
pi-markdown-preview.