pi-quote-copy
v0.1.0
Published
Copy a quoted or fenced block from Pi's last response as raw Markdown
Maintainers
Readme
pi-quote-copy
Copy a quoted (>) or fenced (```) block from the last response as raw Markdown. Useful for prompts, handoffs, and templates that the agent writes for you to paste somewhere else.
Usage
| Trigger | Behavior |
| -------------- | ------------------------------------------------------------------ |
| /quote | Copy a block from the last response |
| Ctrl+Shift+X | Same as /quote (Pi's built-in Ctrl+X copies the whole message) |
- "Last response" means every assistant message since your last prompt.
- One block: copied immediately.
- Several blocks: pick one from a list (newest first, with kind, line count, and first line).
- Quotes are copied without their
>markers; fenced blocks without their fences. Blocks nested in list items count; a fenced block inside a quote stays part of the quote.
Install
From npm (standalone package):
pi install npm:pi-quote-copyFrom git:
pi install git:github.com/ferologics/pi-quote-copyOr use the bundled package:
pi install npm:@ferologics/pi-extensions
# or
pi install npm:pi-shitAfter updating your package, reload Pi:
/reload