From c2f1ff48d574a00f7f7d60e2edb0fa3020370cd8 Mon Sep 17 00:00:00 2001 From: Lukas Drgon Date: Sat, 30 Sep 2017 22:51:00 +0200 Subject: [PATCH] Add CDN link Add CDN link Add Popular CDNs Add popular CDNs (site) Moving section --- README.md | 7 +++++++ docs/contents/getting_started/index.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 286418183..6418142a3 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,13 @@ or to build it from source. We supply pre-built versions for usage with NPM and the `pdfjs-dist` name. For more information and examples please refer to the [wiki page](https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website) on this subject. +## Including via a CDN + +PDF.js is hosted on several free CDNs: + - https://www.jsdelivr.com/package/npm/pdfjs-dist + - https://cdnjs.com/libraries/pdf.js + - https://unpkg.com/pdfjs-dist/ + ## Learning You can play with the PDF.js API directly from your browser using the live demos below: diff --git a/docs/contents/getting_started/index.md b/docs/contents/getting_started/index.md index fccfb1afc..ef917f157 100644 --- a/docs/contents/getting_started/index.md +++ b/docs/contents/getting_started/index.md @@ -57,6 +57,13 @@ $ cd pdf.js +## Including via a CDN + +PDF.js is hosted on several free CDNs: + - https://www.jsdelivr.com/package/npm/pdfjs-dist + - https://cdnjs.com/libraries/pdf.js + - https://unpkg.com/pdfjs-dist/ + ## File Layout Overview ### Prebuilt