package main import ( "bytes" "context" ) // BrutalistButtonBlock applies square corners, 1px solid ink border, // hover inverts to accent fill — per the spec block-overrides section. func BrutalistButtonBlock(ctx context.Context, content map[string]any) string { text := getString(content, "text") href := getString(content, "href") if href == "" { href = getString(content, "url") } var buf bytes.Buffer _ = brutalistButtonComponent(text, resolveURL(href)).Render(ctx, &buf) return buf.String() }