Advanced Formatting Techniques

This Confluence Wiki Markup page details a lot of what the WYSIWYG editor can do, but some abilities seem missing. For instance, left/center/right align and font color don't have formatting shortcuts similar to * for bold and _ for italics.

Looking around some more revealed that this used to be supported (amongst others):

Are there any other advanced formatting techniques out there that aren't well-known? For instance, I'd like to know how to apply a smaller font size to some text, or even a different color (without using the buttons in the WYSIWYG editor), perhaps I'd like to specify something other than predefined "red", "blue", or "green" colors, maybe I'd like to change the alignment of the text.

Any thoughts?

1 answer

1 accepted

Accepted Answer
2 votes

Hi Phillip,

There's nothing in the editor at the moment that lets you change font size, alignment, etc. using shortcuts rather than the editor menus, but Atlassian are tracking all feedback on the editor at so if these are features that you'd like to see you can leave a comment on the page.

In the meantime you may find these documents useful:

Quick Reference Guide for the Confluence Editor

Keyboard Shortcuts

Using Autocomplete

Also, looking at the comment you left on you can enter these sort of CSS properties without needing the {style} macro by enabling the {html} macro that ships with Confluence, but is disabled by default. To enable:

1. Log in to Confluence as a Confluence Administrator
2. Select Browse -> Confluence Admin -> Plugins
3. Select Show System Plugins
4. Search for HTML
5. Click Manage plugin modules on the Confluence HTML Macro
6. Enable the HTML macro

In the editor you can now use raw HTML by using the {html} macro, e.g.

<p style="text-align:center">hello</p>

Hope that helps?


Perhaps I should've been more indicative in my post. I'm currently converting our MediaWiki into Confluence using the UWC and whenever I use the {html} macro (as a replacement for a few regex's in the file), it fails to upload (perhaps convert?) the page altogether. Maybe I should tag UWC in this question... :)

For instance, using this in the file doesn't work (as in, it bails the conversion when it tries to do this):<big>(.*?)<\/big>{replace-with}{html}<big>$1<\/big>{html}

Hi Phillip,

It might be worth starting a new question specifically about UWC for the issues you're getting with your conversion. I'm not a UWC expert, but I know the UWC authors are active on Atlassian Answers and are very helpful with questions about UWC.


In reply to my comment about the "big" HTML tags not converting properly, it was because I didn't have the deprecated HTML macro enabled.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

13 views 0 0
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