readme: add syntax hl

This commit is contained in:
Tom 2020-07-13 21:16:03 +02:00 committed by GitHub
parent 921daa85bb
commit a033c096df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ Signal handler that uses [pthread_sigmask](http://man7.org/linux/man-pages/man3/
## Example usage
```
```C++
{
// Block signals
sgnl::SignalHandler signal_handler({SIGINT, SIGTERM});
@ -42,7 +42,7 @@ See [example.cpp](example/example.cpp) for an example using threads.
## Build & Install
```
```SH
mkdir -p build/ && cd build/
cmake ..
# build and run tests