Commit e41ca7b9 authored by Victor Zverovich's avatar Victor Zverovich

Try setting highlight to c++

parent 6527551d
.. highlight: c++
C++ Format C++ Format
========== ==========
...@@ -54,9 +56,7 @@ See the `documentation <http://cppformat.readthedocs.org/en/latest/>`_ for more ...@@ -54,9 +56,7 @@ See the `documentation <http://cppformat.readthedocs.org/en/latest/>`_ for more
Examples Examples
-------- --------
This prints ``Hello, world!`` to stdout: This prints ``Hello, world!`` to stdout::
.. code-block:: c++
fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
fmt::printf("Hello, %s!", "world"); // uses printf format string syntax fmt::printf("Hello, %s!", "world"); // uses printf format string syntax
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment