mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
Remove padding from markdown code blocks
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { HookAPI } from "@mariozechner/pi-coding-agent";
|
||||
|
||||
export default function (pi: HookAPI) {
|
||||
pi.on("turn_start", async (_event, ctx) => {
|
||||
ctx.ui.setStatus("demo", "🔄 Thinking...");
|
||||
});
|
||||
|
||||
pi.on("turn_end", async (_event, ctx) => {
|
||||
ctx.ui.setStatus("demo", "✓ Ready");
|
||||
});
|
||||
}
|
||||
@@ -621,7 +621,6 @@
|
||||
display: block;
|
||||
background: none;
|
||||
color: var(--mdCodeBlock);
|
||||
padding: var(--line-height);
|
||||
}
|
||||
|
||||
.markdown-content blockquote {
|
||||
|
||||
Reference in New Issue
Block a user