How to customize monofont in Scroll PDF Exporter?

How do I specify a different font for <pre> and <code>? Do I need to create a custom template as discussed here?

1 answer

1 accepted

Hi Robert,

for Scroll PDF Exporter you don't need to create a template plugin. Instead use the integrated template designer.

Follow the guide for creating Scroll PDF Exporter templates, upload your custom font and the use it like this:

tt, pre {
  font-family: &lt;your-font-family-here&gt;;

See here for more information:


I have the following, and the font is installed, but it's still coming out Courier:

/* code, pre { font-family: DejaVuSansMono; } */

Thanks. The tag for monofont in the Confluence source is code, so it's confusing that you have to use tt in the CSS.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

314 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you