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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,709 views 3 11
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