Closed lfoppiano closed 1 week ago
One of the limitation of this release is that node should be >= 18.
https://github.com/lfoppiano/streamlit-pdf-viewer/commit/5f09846fbc5b4cd71ab910f98b343d681e5808ed
I've modified the method for loading pdfjs-dist and fixed transpilation settings. With these changes, the text is now displayed on top of the PDF in my environment as shown in the attached file. The position is still misaligned, though. 🤔
Since I have updated several library versions, you will need to delete node_modules and package-lock.json once to run in your environment.
Thanks great! Thanks!