# Convert Page to pdf file

**URL:** <https://discourse.gohugo.io/t/convert-page-to-pdf-file/35794>\
**Category:** support\
**Created:** [November 28, 2021, 7:46am UTC](https://discourse.gohugo.io/t/convert-page-to-pdf-file/35794 "2021-11-28T07:46:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent\_youmans](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vincent_youmans/32/6133_2.png) [@vincent\_youmans](https://discourse.gohugo.io/u/vincent_youmans)\
**Post date:** [November 28, 2021, 7:46am UTC](https://discourse.gohugo.io/t/convert-page-to-pdf-file/35794/1 "2021-11-28T07:46:57Z")

</div>

I think I read that I would have to create a separate template for pdf files, but a pdf file download would be a welcome feature. Just to get the column to line up correctly, fonts… Are their any Hugo Examples that have a button to render the page as a PDF? any hints?

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [November 28, 2021, 9:14am UTC](https://discourse.gohugo.io/t/convert-page-to-pdf-file/35794/2 "2021-11-28T09:14:45Z")

</div>

This has been discussed before, please see this topic:

> [@Generate Hugo website as a PDF](https://discourse.gohugo.io/t/generate-hugo-website-as-a-pdf/22855/2):
>
> I don’t believe there is a way to do this automatically with Hugo. There are some default arguments being passed to helpers like Pandoc, but last time I checked I couldn’t find out to change them: Once those can be changed then you should be able to include PDF generation arguments for Pandoc. There are couple alternative options. The easiest would probably be to create a wrapper script around Pandoc that adds these arguments. Unless you can get help from someone else with this, I don’t h…

Also perhaps you want to track the following GitHub issue:

> <https://github.com/gohugoio/hugo/issues/6332>
>
> See this tweet:
> 
> https://twitter.com/ThatPandaDev/status/1172342347213881344
> …
> \>i miss downloadable docs :( prepping to write code on the plane and i shouldn't need to clone the whole @semanticui and @GoHugoIO repos, then figure out their doc build process... where'd "download as HTML" or PDF ever go to?
> 
> I totally agree with the above Tweet. "download as HTML" should be possible as-is if you're building using \`relativeURLs=true\` and have your URLs in order, so to speak. That could be something we also could investigate so we could do a static build as part of the release. But a simple PDF with an index would be nice ...
