From dea98ad22886479a68b7e425fedaec2c6de75eb0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 2 Jun 2026 09:27:47 -0700 Subject: [PATCH] Improve docs --- doc/syntax.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/syntax.md b/doc/syntax.md index eae72a3b..88e45cc3 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -669,11 +669,9 @@ fmt::print("{:n:f}", std::array{std::numbers::pi, std::numbers::e}); // Output: 3.141593, 2.718282 ``` - -## Examples +## A Combined Example -Most of the format options are introduced alongside their grammar in the -sections above. The example below combines several of them — nested +The example below ties together several elements introduced above — nested replacement fields, fill characters, and centering — to draw a fixed-width box around a message: