Remove padding from markdown code blocks

This commit is contained in:
Mario Zechner
2026-01-01 21:50:23 +01:00
Unverified
parent a9492837e8
commit 872205406e
3 changed files with 3283 additions and 1 deletions
+11
View File
@@ -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");
});
}
+3272
View File
File diff suppressed because one or more lines are too long
@@ -621,7 +621,6 @@
display: block;
background: none;
color: var(--mdCodeBlock);
padding: var(--line-height);
}
.markdown-content blockquote {