From 450e8eed97b5e0c4ebf89ca27f91e8d022eb3b29 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 22 Apr 2020 09:30:09 -0700 Subject: [PATCH] Fix markup --- doc/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 0408a2c8..35f695c5 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -193,14 +193,14 @@ example:: } }; -Since `parse` is inherited from `formatter` it will recognize all -string format specifications, for example +Since ``parse`` is inherited from ``formatter`` it will recognize +all string format specifications, for example .. code-block:: c++ fmt::format("{:>10}", color::blue) -will return " blue". +will return ``" blue"``. You can also write a formatter for a hierarchy of classes::