Skip to content

Commit

Permalink
Add CDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasDrgon authored Sep 30, 2017
1 parent b5a9e59 commit a8d7397
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ PDF.js is built into version 19+ of Firefox, however, one extension is still ava
Chrome, go to `Tools > Extension` and load the (unpackaged) extension from the
directory `build/chromium`.

### Including via a CDN

To use PDF.js via a CDN you need to include this file from [jsDelivr](https://www.jsdelivr.com/package/npm/pdfjs-dist):
```
<script src="https://cdn.jsdelivr.net/npm/pdfjs-dist@1/build/pdf.min.js"></script>
```

## Getting the Code

To get a local copy of the current code, clone it using git:
Expand Down

0 comments on commit a8d7397

Please sign in to comment.