소스 검색

Update README.md

Artur Paikin 8 년 전
부모
커밋
65ea57c2e8
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      README.md

+ 8 - 2
README.md

@@ -35,7 +35,9 @@ Check out [uppy.io](http://uppy.io/) for docs, API, examples and stats.
 ### Installing from NPM
 ### Installing from NPM
 
 
 It’s easy to start using Uppy, we recommend installing from npm:
 It’s easy to start using Uppy, we recommend installing from npm:
-`npm install uppy --save`
+```
+npm install uppy --save
+```
 
 
 and then use a bundler like Browserify or Webpack:
 and then use a bundler like Browserify or Webpack:
 
 
@@ -48,9 +50,13 @@ const files = uppy
   .use(DragDrop, {target: 'body'})
   .use(DragDrop, {target: 'body'})
   .use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
   .use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
   .run()
   .run()
+```
 
 
+or
+
+``` javascript
 // ES5
 // ES5
-// :warning: bundling with `require` will include the whole Uppy package, with all plugins. 
+// warning: bundling with `require` will currently include the whole Uppy package, with all plugins. 
 // If you want to pick and choose, use `import`)
 // If you want to pick and choose, use `import`)
 var Uppy = require('uppy')
 var Uppy = require('uppy')