diff --git a/docs/api/index.md b/docs/api/index.md index 504a7f8..2ddc283 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -48,6 +48,7 @@ You can also use the [env preset](http://babeljs.io/docs/plugins/preset-env/) wi The obligatory hello world application: + ```js const Koa = require('koa'); const app = new Koa(); @@ -74,6 +75,7 @@ app.listen(3000); middleware to execute downstream, the stack will unwind and each middleware is resumed to perform its upstream behaviour. + ```js const Koa = require('koa'); const app = new Koa();