mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Add syntax highlighting to readme
This commit is contained in:
parent
e7b2b598ac
commit
bc11a9e56f
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user