Version: 3
🔥 Gravity PDF v3 end of life was 2017-06-20 and this version is no longer supported. This legacy documentation is kept for reference only.
An Example of HTML in Custom PDF Templates
Basic HTML Example
The plugin ships with a number of PDF templates showing off the features of mPDF. These can be found in your PDF_EXTENDED_TEMPLATES directory.Overview
Template Name:example-basic-html01.php
Example URL: https://test.com/?gf_pdf=1&fid=3&lid=40&template=example-basic-html01.php
The example-basic-html01.php
template shows how most compatible HTML elements are rendered.
To see the full list of supported HTML tags and attributes view the mPDF documentation.