Confluence macro specifying font and special character?

I use ⋮ (U+22EE) in my Confluence content, but it is not supported by the fonts I use with Scroll PDF Exporter, and I don't want to change the default font to any of the ones that include that glyph. Is there some way to wrap it in a macro that will specify the font?

3 answers

0 vote
Steven Behnke Community Champion Feb 13, 2015

Sure is! Do you know the font or the source of the font? The user macro will be something like: {code} ##@param Content|title=User supplied content|Textbox <span style="font-family: WorkingFont;">$paramContent</span> {code} The content MUST use a parameter and not the body to remain INLINE.

I don't understand how to translate that into a macro and Atlassian's docs are not helpful. All I really want is this: <span style="font-family: EversonMono;">⋮</span>

Hi Robert,

This will help: https://confluence.atlassian.com/display/DOC/Writing+User+Macros

And as a macro content (template) you will need to put

## @noparams
&lt;span style="font-family: EversonMono;"&gt;⋮&lt;/span&gt;

The ⋮ does not appear in the PDF.

that is because EversonMono font does not get embedded into the pdf, but this is another story

EversonMono is installed in the Scroll PDF Exporter template. PDF export is the issue here. The ⋮ character appears fine in Confluence.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

998 views 23 13
Join discussion

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