mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix markup
This commit is contained in:
parent
b8fbcec1be
commit
450e8eed97
@ -193,14 +193,14 @@ example::
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Since `parse` is inherited from `formatter<string_view>` it will recognize all
|
Since ``parse`` is inherited from ``formatter<string_view>`` it will recognize
|
||||||
string format specifications, for example
|
all string format specifications, for example
|
||||||
|
|
||||||
.. code-block:: c++
|
.. code-block:: c++
|
||||||
|
|
||||||
fmt::format("{:>10}", color::blue)
|
fmt::format("{:>10}", color::blue)
|
||||||
|
|
||||||
will return " blue".
|
will return ``" blue"``.
|
||||||
|
|
||||||
You can also write a formatter for a hierarchy of classes::
|
You can also write a formatter for a hierarchy of classes::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user