From aef31239a3eac3dd90d0072a5bb5eb38131ae27b Mon Sep 17 00:00:00 2001 From: "Watal M. Iwasaki" Date: Mon, 24 Nov 2025 13:40:17 +0900 Subject: [PATCH] Add white-space property for code elements Currently the result of `fmt::format("{:>10}", color::blue)` is displayed inline as ` blue` with a collapsed whitespace, which is confusing. --- dev/fmt.css | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/fmt.css b/dev/fmt.css index 994d6e2e..75463865 100644 --- a/dev/fmt.css +++ b/dev/fmt.css @@ -20,6 +20,7 @@ margin-left: 1em; } +code, pre > code.decl { white-space: pre-wrap; }