Skip to content

Commit

Permalink
Merge pull request #48 from tojrobinson/kramdown-block
Browse files Browse the repository at this point in the history
Fix kramdown code blocks
  • Loading branch information
Andrew Nesbitt committed Sep 12, 2014
2 parents fe7d76f + 4bf5ced commit 5d99a7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hack.md
Expand Up @@ -115,7 +115,7 @@ the drone's WiFi with your laptop and install the [ar-drone](https://github.com/

Once you've done that, save this to a file:

```javascript
~~~javascript
var arDrone = require('ar-drone');
var client = arDrone.createClient();

Expand All @@ -132,7 +132,7 @@ client
this.stop();
this.land();
});
```
~~~

and execute it. See how your drone takes of, rotates clockwise and even does a flip!
Amazing. Now you're set, go ahead and get crazy!
Expand Down
4 changes: 2 additions & 2 deletions index.md
Expand Up @@ -79,7 +79,7 @@ Install [Node.js](http://nodejs.org) and get the
to execute the following code with node. That will make your drone take off,
move around, do a flip and carefully land again. Seriously, that's all!

```
~~~javascript
var arDrone = require('ar-drone');
var client = arDrone.createClient();

Expand All @@ -96,4 +96,4 @@ client
this.stop();
this.land();
});
```
~~~

0 comments on commit 5d99a7b

Please sign in to comment.