TutorialShow Gravity PDF in raw HTML

Do you want to inspect the raw html output of your Gravity PDF? With this simple url argument you can do that.

Add ?html=1 to the PDF url

It’s quite easy. First open a PDF inside your browser. It will have an url like this:


Now add behind this url the arguments: ?html=1. This should look like this:


The PDF opens now without processing it to the PDF itself. This makes it way easier to inspect the HTML and styles used inside the PDF. You can only do this when you have edit rights (as an administrator you usually do) in Gravity PDF.

More about styling PDF’s

For generating PDF’s the mPDF library is used. There are some limitations and differences between writing HTML and CSS for PDF’s compared with webpages.

Read more tutorials about Blue Liquid Designs

Gravity PDF by Blue Liquid Designs is the most user friendly solution for generating PDF documents using data from Gravity Forms entries. Download Gravity PDF
All tutorials Blue Liquid Designs