From d71bf545b07f7b13d10cab8b9b524c5eba2f081f Mon Sep 17 00:00:00 2001 From: Basarat Ali Syed Date: Mon, 3 Aug 2015 18:06:38 +1000 Subject: [PATCH] :memo: use markdown --- README => README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename README => README.md (97%) diff --git a/README b/README.md similarity index 97% rename from README rename to README.md index 3bc8888..809e362 100644 --- a/README +++ b/README.md @@ -76,11 +76,14 @@ your calling file, and link against the compiled library. There are many ways to call Snappy, but the simplest possible is - snappy::Compress(input.data(), input.size(), &output); +```cpp +snappy::Compress(input.data(), input.size(), &output); +``` and similarly - - snappy::Uncompress(input.data(), input.size(), &output); +```cpp +snappy::Uncompress(input.data(), input.size(), &output); +``` where "input" and "output" are both instances of std::string.