hugo-embed-pdf-shortcode icon indicating copy to clipboard operation
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/)

Results 24 hugo-embed-pdf-shortcode issues
Sort by recently updated
recently updated
newest added

**What?** Provide a option to allow the user to download the PDF file. **Why?** Sometimes I need to publish PDF in “secure mode” (I mean that people don’t have to...

feature-request

Installation and updates would be easier with a [Theme Component](https://gohugo.io/hugo-modules/theme-components/). I just did a successful installation this way and I can provide a PR. But before tackling this I would...

I use the Embed-pdf-shortcode for displaying my CV on my personal website. I wonder if there could be an option in which the few pages will display automatically one after...

**Describe the bug** The script `src` is incorrect, which means the page breaks as the library will not load. **To Reproduce** Steps to reproduce the behavior: 1. Include the library...

bug

I have this issue , with Safari 15.5 on Monterey 12.4 running Hugo server undefined is not an object (evaluating 'pdfjsLib.GlobalWorkerOPtions... thanks in advance best regards

Hello all, This PR adds support for multiple embeds as discussed in #25. I've rolled the changes I've made for this into the original shortcode, and added a new partial...

Problem: Embedding two PDFs in one page does not work Solution: Use `window.addEventListener("load",function(){` instead of `window.onload = function(event) {` and have unique IDs. I made soma adaptions here: https://github.com/jakob-r/courseTheme/blob/main/layouts/shortcodes/pdfjs.html If...

**Describe the bug** It is working fine while I run hugo on my local server. But it does not work (and keep rotating) on the hosted hugo site. **To Reproduce**...

I did according to the instructions. However, it doesn't work. Anything is visible on the page.

bug