Syntax highlight synopsis code in README.md

This commit is contained in:
kumar8600 2015-03-16 12:56:14 +09:00
parent 9e8fb2fc69
commit 4daba0efa8

View File

@ -7,6 +7,7 @@ This library provides C++11 bindings/wrapper for SDL2 and satellite libraries.
## Synopsis ## ## Synopsis ##
```c++
try { try {
using namespace SDL2pp; using namespace SDL2pp;
@ -67,6 +68,7 @@ This library provides C++11 bindings/wrapper for SDL2 and satellite libraries.
// This also works (e.g. "SDL_Init failed: No available video device") // This also works (e.g. "SDL_Init failed: No available video device")
std::cerr << e.what() << std::endl; std::cerr << e.what() << std::endl;
} }
```
## Features ## ## Features ##