Skip to content

tomoki1207/vscode-pdfviewer

Repository files navigation

pdf

Display pdf in VSCode.

screenshot

Contribute

Upgrade PDF.js

  1. Download latest Prebuilt(older browsers).
  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