Skip to content

Commit

Permalink
Reformat install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
eKoopmans committed Dec 14, 2017
1 parent 84e8544 commit 32447ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ html2pdf converts any webpage or element into a printable PDF entirely client-si

## Getting started

### HTML
#### HTML

The simplest way to use html2pdf is to download `dist/html2pdf.bundle.min.js` to your project folder and include it in your HTML with:

```html
<script src="html2pdf.bundle.min.js"></script>
```

*[Click here](#dependencies) for more information about using the unbundled version `dist/html2canvas.min.js`.*
*Note: [Click here](#dependencies) for more information about using the unbundled version `dist/html2canvas.min.js`.*

### NPM
#### NPM

Install html2pdf and its dependencies using NPM with `npm install --save html2pdf.js` (make sure to include `.js` in the package name).

*Note: You can use NPM to create your project, but html2pdf **will not run in Node.js**, it must be run in a browser.*

### Bower
#### Bower

Install html2pdf and its dependencies using Bower with `bower install --save html2pdf.js` (make sure to include `.js` in the package name).

Expand Down

0 comments on commit 32447ef

Please sign in to comment.