Pdf.js and hugo


#1

Hi,

I’m trying to put PDF file in my website.
I use Hugo through Blogdown at the moment but i’m quite flexible.

I want to use pdf.js instead of redirecting it to example.pdf.

I understand that I need to change the HTML to md file. and put it in the content folder. However, results doesn’t look as expected (or, as seen it in localhost outside hugo site).

Is there any good way to use pdf.js on Hugo?