Skip to content
Gallery
Abel Documentation
Share
Explore
generate PDF Plugin

icon picker
How it works

The plugin generate PDF convert any HTML to PDF.

Fields

Format: You can choose Letter, Legal, Ledger, A1, A2, A3, A4, A5 or A6
Scale: from 50% to 150%, by default 80%
Layout: Vertical or Horizontal
Margin: White space on all edges, by default 0px
CleanShot 2024-02-02 at 10.37.30@2x.png

Params section

Params are used to replace any word in your HTML template.
Just write the name and assign a value, example “ name = Abel ”
CleanShot 2024-02-02 at 10.37.59@2x.png

HTML section

Add tags into your HTML template, like this:
<h3>Hi {{name}}</h3>
This action will replace the parameter with the value you assigned it in the section Params.
In the reference image we see that the value of the name parameter will be replaced in all the tags where the same name of the parameter has been written.
CleanShot 2024-02-02 at 10.39.42@2x.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.