# Custom HTML PDF

**URL:** <https://community.fibery.io/t/custom-html-pdf/4194>\
**Category:** Get Help\
**Created:** [March 28, 2023, 8:29pm UTC](https://community.fibery.io/t/custom-html-pdf/4194 "2023-03-28T20:29:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cannibalflea](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/cannibalflea/32/318_2.png) [@cannibalflea](https://community.fibery.io/u/cannibalflea)\
**Post date:** [October 9, 2023, 8:43pm UTC](https://community.fibery.io/t/custom-html-pdf/4194/4 "2023-10-09T20:43:24Z")

</div>

@danielbmarsh thought I should mention that there has been some movement on this with the [Oct 5 release](https://community.fibery.io/t/oct-5-2023-notifications-settings-send-attachments-via-email-bezier-curves-for-connector-lines/5247):

> [@Oct 5, 2023 / sweat\_smile Notifications settings, Send attachments via email, Bezier curves for connector lines](https://community.fibery.io/t/oct-5-2023-notifications-settings-send-attachments-via-email-bezier-curves-for-connector-lines/5247/1):
>
> ## Automations: Generate PDF file by treating template as html page
> 
> We extended `Attach PDF using template` Action. Now it is possible to check an option `Treat template as HTML page` and the HTML template will be rendered to PDF as is. This allows to provide custom css styles and use any HTML elements and layout.

I’ve done some testing and ported a few templates from pdfmonkey over. Things seem to be working quite well since you are also still able to [make use of javascript code blocks](https://the.fibery.io/@public/User_Guide/Guide/Markdown-templates-53/anchor=Using-Javascript-code-and-Fibery-API-in--b13b30fe-ef56-40c4-9ae3-cacfe6ba9598) which opens up all sorts of interesting things including running graphql queries to fill-in related information.

There are still [a few areas for improvement](https://community.fibery.io/t/oct-5-2023-notifications-settings-send-attachments-via-email-bezier-curves-for-connector-lines/5247/6), but this is still quite a great leap forward.

---

_[View the full topic](https://community.fibery.io/t/custom-html-pdf/4194)._
