Add syntax highlighting to readme

This commit is contained in:
Amila Welihinda 2018-09-14 21:30:51 -07:00 committed by Don McCurdy
parent e7b2b598ac
commit bc11a9e56f

View File

@ -10,13 +10,13 @@ or the [API documentation](API.md).
The easiest way to use dat.GUI in your code is by using the built source at `build/dat.gui.min.js`. These built JavaScript files bundle all the necessary dependencies to run dat.GUI. The easiest way to use dat.GUI in your code is by using the built source at `build/dat.gui.min.js`. These built JavaScript files bundle all the necessary dependencies to run dat.GUI.
In your `head` tag, include the following code: In your `head` tag, include the following code:
``` ```html
<script type="text/javascript" src="dat.gui.min.js"></script> <script type="text/javascript" src="dat.gui.min.js"></script>
``` ```
## Installing from npm ## Installing from npm
``` ```bash
$ npm install --save dat.gui $ npm install --save dat.gui
``` ```