hugo-embed-pdf-shortcode
hugo-embed-pdf-shortcode copied to clipboard
Use CDN instead of including the library files
Is your feature request related to a problem? Please describe. No.
Describe the solution you'd like At the moment the shortcode requires the user to include the library files locally. This will be a maintenance problem as the library will have to be updated everytime there is a new release.
Describe alternatives you've considered Ideally the library can be included using a CDN. If not available then consider other projects / libraries that include PDF.js and provide a CDN.
Additional context
Explore the option of making the source of the PDF.js library configurable. Refer this