mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-22 18:40:05 +00:00
Fix markdown
This commit is contained in:
parent
0b0a05770f
commit
cddb41f633
@ -1,7 +1,7 @@
|
||||
# Format String Syntax
|
||||
|
||||
[Formatting functions](api.md) such as `fmt::format` and `fmt::print` use the same
|
||||
format string syntax described in this section.
|
||||
[Formatting functions](api.md) such as `fmt::format` and `fmt::print` use the
|
||||
same format string syntax described in this section.
|
||||
|
||||
Format strings contain "replacement fields" surrounded by curly braces `{}`.
|
||||
Anything that is not contained in braces is considered literal text, which is
|
||||
@ -27,12 +27,12 @@ output instead of the replacement field. The *arg_id* is optionally followed
|
||||
by a *format_spec*, which is preceded by a colon `':'`. These specify a
|
||||
non-default format for the replacement value.
|
||||
|
||||
See also the [Format Specification Mini-Language
|
||||
](#format-specification-mini-language) section.
|
||||
See also the [Format Specification
|
||||
Mini-Language](#format-specification-mini-language) section.
|
||||
|
||||
If the numerical arg_ids in a format string are 0, 1, 2, \... in
|
||||
If the numerical arg_ids in a format string are 0, 1, 2, ... in
|
||||
sequence, they can all be omitted (not just some) and the numbers 0, 1,
|
||||
2, \... will be automatically inserted in that order.
|
||||
2, ... will be automatically inserted in that order.
|
||||
|
||||
Named arguments can be referred to by their names or indices.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user