pi-quote-copy0.1.0
Copy a quoted or fenced block from Pi's last response as raw Markdown
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
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-copy
From git:
pi install git:github.com/ferologics/pi-quote-copy
Or use the bundled package:
pi install npm:@ferologics/pi-extensions
# or
pi install npm:pi-shit
After updating your package, reload Pi:
/reload