From 8709e8a14ea0e2e32c818670e471691872bb4cd4 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Wed, 20 Mar 2019 19:29:03 +0900 Subject: [PATCH] chore: fix incorrect syntax highlight in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e30dad7..55bebb4 100644 --- a/README.md +++ b/README.md @@ -859,7 +859,7 @@ std::cout << std::setprecision( 7) << data << std::endl; There is another way to format toml values, `toml::format()`. It returns `std::string` that represents a value. -```toml +```cpp const toml::value v{{"a", 42}}; const std::string fmt = toml::format(v); // a = 42 @@ -868,7 +868,7 @@ const std::string fmt = toml::format(v); Note that since `toml::format` formats a value, the resulting string may lack the key value. -```toml +```cpp const toml::value v{3.14}; const std::string fmt = toml::format(v); // 3.14