From e41ca7b951147fc91e08efd6a5bc281cfaa68dfa Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 7 Nov 2014 06:56:53 -0800 Subject: [PATCH] Try setting highlight to c++ --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 57a1943c..adaee5cf 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,5 @@ +.. highlight: c++ + C++ Format ========== @@ -54,9 +56,7 @@ See the `documentation `_ for more Examples -------- -This prints ``Hello, world!`` to stdout: - -.. code-block:: c++ +This prints ``Hello, world!`` to stdout:: fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax fmt::printf("Hello, %s!", "world"); // uses printf format string syntax