From d93364e63fb64a3ebee4d3024e65b7bb7427454b Mon Sep 17 00:00:00 2001 From: Arthur Brainville Date: Wed, 10 Jan 2018 12:04:51 +0100 Subject: [PATCH] Add language tag on code snippets in README --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1cb18c9..05739d1 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Copy `stb_image.h`, `json.hpp` and `tiny_gltf.h` to your project. ### Loading glTF 2.0 model -``` +```c++ // Define these only in *one* .cc file. #define TINYGLTF_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION @@ -118,11 +118,13 @@ Git clone https://github.com/KhronosGroup/glTF-Sample-Models to your local dir. After building `loader_example`, edit `test_runner.py`, then, - $ python test_runner.py +```bash +$ python test_runner.py +``` ### Unit tests -``` +```bash $ cd tests $ make $ ./tester