Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 849 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 849 Bytes

pdf

Display pdf in VSCode.

screenshot

Contribute

Upgrade PDF.js

  1. Download latest Prebuilt.
  2. Extract the ZIP file.
  3. Overwrite ./lib/* by extracted directories.
    • If lib/web/viewer.html has changes, apply these changes to HTML template at pdfPreview.ts.
  4. To not use sample pdf.
  • Remove sample pdf called compressed.tracemonkey-pldi-09.pdf.
  • Remove code about using sample pdf from lib/web/viewer.js.
    defaultUrl: {
      value: "", // "compressed.tracemonkey-pldi-09.pdf"
      kind: OptionKind.VIEWER
    },

Change log

See CHANGELOG.md.

License

Please see LICENSE