How can I check the rendered template and css in a browser?
How are you supposed to design the templates and the css? Is there a way to see the rendered template and the corresponding css in a browser instead of just receive a generated .pdf output??? Just a pdf doesn't help me to figure out what goes wrong or where exactly to fix it.
Thanks!
-
I have the same issue. The documentation is spotty at best on this topic. Would really help to have an HTML out to see what class/ID/tags are used for format specific items. I go through tens of cycles experimenting with the CSS, often unsuccessfully to try can change the format of certain items.
-
Hi,
we plan to introduce an improved template designer in a later version of the plugin (no planned release date yet).
In the meantime you can do the following:
- Make sure you are using the latest version of the PDF Exporter.
- Export a page using your template.
- On the Confluence Server navigate to the "<Confluence home>/temp" directory.
- A new subdirectory named like "scrll_PdfExporter680166731248806067519523918987958" has been created
- Inside this subdirectory you will find the HTML file that is converted to PDF as the last step of an export.
If you open the file in a browser to check it with e.g. Firebug, please note that the CSS is scoped to media type "print" and you may need to change / remove that in the CSS import statements before you'll be able to see the CSS effects in the browser.
I hope this helps somewhat.
Best regards,
Jens
Please sign in to leave a comment.
Comments
2 comments