@zhachory1/mewrite-markdown-preview

extensionmaintained

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

by · v1.3.1 · published 3d ago

$ pi install npm:@zhachory1/mewrite-markdown-preview
downloads/mo
2.3K
stars
2
last push
15h ago
open issues
15

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

7.4K downloads · last 12 weeks (weekly)

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.

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.