Skip to content

Commit 60bab60

Browse files
committed
Fix readme
1 parent d891185 commit 60bab60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ If you find `pdfjs-viewer-element` useful and want to support its development, c
4444

4545
`pdfjs-viewer-element` requires [PDF.js prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer.
4646

47-
The prebuilt comes with each PDF.js release.
48-
49-
[PDF.JS releases](https://github.com/mozilla/pdf.js/releases)
47+
The prebuilt comes with each PDF.js release. [PDF.JS releases](https://github.com/mozilla/pdf.js/releases)
5048

5149
✅ All v4 and v3 releases are fully supported.
50+
5251
🚧 For v5 releases - there are some breaking changes that affects styles injecting, and theme changing not work anymore.
5352

5453
After placing the prebuild specify the path to the directory with the `viewer-path` property (`/pdfjs` by default) and PDF file URL with `src` property (should refer to the [same origin](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#can-i-load-a-pdf-from-another-server-cross-domain-request)).

0 commit comments

Comments
 (0)