edit README.md. add info for dev to viewer/README.md.

This commit is contained in:
Takashi Tamura 2019-08-01 22:38:10 +09:00
parent c2c64106c2
commit 751f42cb04
2 changed files with 3 additions and 4 deletions

View File

@ -135,10 +135,6 @@ This is not a complete list but rather a preview of some of the coolest features
<img src="https://github.com/James-Yu/LaTeX-Workshop/raw/master/demo_media/hover.gif" alt="equation hover demo" height="120px">
- [Tikz picture preview](https://github.com/James-Yu/LaTeX-Workshop/wiki/Hover#tikz-preview)
<img src="https://github.com/James-Yu/LaTeX-Workshop/raw/master/demo_media/tikz-preview.gif" alt="tikz preview demo">
## GitHub
The code for this extension is available on github at: https://github.com/James-Yu/LaTeX-Workshop

3
viewer/README.md Normal file
View File

@ -0,0 +1,3 @@
The pdf viewer is based on [pdf.js](https://mozilla.github.io/pdf.js/) by Mozilla Foundation. Files are from the [prebuilt download version](https://mozilla.github.io/pdf.js/getting_started/#download). The reason we do not use `web/pdf_viewer.js` from `pdfjs-dist` package is that `pdf_viewer.js` does not provide features we need. `pdf_viewer.js` is much simpler than `viewer.js`. See [link](https://github.com/mozilla/pdf.js/issues/9318).
Mozilla asks web developers to reskin `viewer.html` because Firefox users would think bugs of the viewer on the web site are ones of Firefox and would report them to the pdf.js team. See [link](https://github.com/mozilla/pdf.js/issues/5609). Our usage does not cause such a problem.