Skip to content

BrackenW3/vscode-pdfviewer

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • JavaScript 87.9%
  • CSS 6.8%
  • TypeScript 3.0%
  • HTML 2.3%