mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-15 08:26:13 +08:00
Improve docs
This commit is contained in:
parent
d04adde254
commit
dea98ad228
@ -669,11 +669,9 @@ fmt::print("{:n:f}", std::array{std::numbers::pi, std::numbers::e});
|
|||||||
// Output: 3.141593, 2.718282
|
// Output: 3.141593, 2.718282
|
||||||
```
|
```
|
||||||
|
|
||||||
<a id="format-examples"></a>
|
## A Combined Example
|
||||||
## Examples
|
|
||||||
|
|
||||||
Most of the format options are introduced alongside their grammar in the
|
The example below ties together several elements introduced above — nested
|
||||||
sections above. The example below combines several of them — nested
|
|
||||||
replacement fields, fill characters, and centering — to draw a fixed-width
|
replacement fields, fill characters, and centering — to draw a fixed-width
|
||||||
box around a message:
|
box around a message:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user