hugo-embed-pdf-shortcode
hugo-embed-pdf-shortcode copied to clipboard
A shortcode for Hugo(https://gohugo.io/) which allows you to embed a PDF file in a page using Pdf.js (https://mozilla.github.io/pdf.js/)
**Is your feature request related to a problem? Please describe.** No problem. **Describe the solution you'd like** It would be nice to either have the PDF resizable or have a...
**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....
Fixes: https://github.com/anvithks/hugo-embed-pdf-shortcode/issues/27 Successfully tested locally and deployed. The quality of this PR could be improved though: - [ ] provide a setting to make the Download button optional - [...
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...
Fixes https://github.com/anvithks/hugo-embed-pdf-shortcode/issues/31
Fixes #25
**Describe the bug** A clear and concise description of what the bug is. When I upload my site to Netlify the spinner keeps on spinning but at the localhost it...
**Is your feature request related to a problem? Please describe.** Sometimes allowing users only to view some PDFs is preferable, preventing them from downloading them. Sometimes you may want to...
The initial installation did not work at all. But then I ran across [this guide](https://github.com/anvithks/hugo-embed-pdf-shortcode/issues/26#issuecomment-1008122738) and I can get the shortcode to start loading the PDF, but it never actually...
Thanks for the nice shortcode! I propose a patch with a new input to go directly to some desired page by its number. I can also make it optional if...