hugo-embed-pdf-shortcode icon indicating copy to clipboard operation
hugo-embed-pdf-shortcode copied to clipboard

Use CDN instead of including the library files

Open anvithks opened this issue 4 years ago • 0 comments

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

anvithks avatar Sep 09 '20 14:09 anvithks