CodeBlock
Code container with an optional filename header — so you know where the code lives — and a one-click copy button.
The header tells you where the code lives; the button copies the block in one click.
vitest.config.ts
export default defineConfig({
test: {
pool: "forks",
isolate: true,
},
}); Without a filename the copy button floats in the top-right corner. It shows on hover or when you Tab into the block, and stays visible on touch screens.
git worktree add ../fix-auth -b fix/auth