diff --git a/doc/api.rst b/doc/api.rst index 49cc5537..f4ea0ec7 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -15,6 +15,7 @@ The {fmt} library API consists of the following parts: and tuples * :ref:`fmt/chrono.h `: date and time formatting * :ref:`fmt/compile.h `: format string compilation +* :ref:`fmt/color.h `: terminal color and text style * :ref:`fmt/ostream.h `: ``std::ostream`` support * :ref:`fmt/printf.h `: ``printf`` formatting @@ -400,6 +401,15 @@ bottleneck. .. doxygendefine:: FMT_COMPILE +.. _color-api: + +Terminal color and text style +============================= + +``fmt/color.h`` provides support for terminal color and text style output. + +.. doxygenfunction:: print(const text_style&, const S&, const Args&...) + .. _ostream-api: ``std::ostream`` Support