hugo-embed-pdf-shortcode
hugo-embed-pdf-shortcode copied to clipboard
fix URL and load pdf.js
Hopefully fixes https://github.com/anvithks/hugo-embed-pdf-shortcode/issues/18
I tested both on localhost and deployed.
I'm not familiar with Hugo's baseUrl settings, but this PR may at least improve things for a few users
Related https://github.com/anvithks/hugo-embed-pdf-shortcode/issues/26
SonarCloud Quality Gate failed. 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Changed the source of PDF.js to CDN delivery. This may be added to the documentation in case anyone wants to include pdf.js library via source.
@RoneoOrg May be we can add this to the documentation or add a comment to the file in the appropriate locations indicating the usage. Would you be able to do that? Let me know.
@RoneoOrg May be we can add this to the documentation or add a comment to the file in the appropriate locations indicating the usage. Would you be able to do that? Let me know.
I won't be available for that in the near future, sorry
@RoneoOrg No worries. I can do it. I will close this PR though, if that's alright.
Closing as this now added as a documentation.