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 votes
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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,192 views 2 13
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