Skip to content

AvyChanna/vscode-pdfviewer

 
 

Repository files navigation

vscode-pdf

This is a fork of (vscode-pdf by tomoki1207) to add dark mode(color inversion). The original README is as follows.


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 93.1%
  • CSS 3.8%
  • TypeScript 1.8%
  • HTML 1.3%