Is there a way to create repeatable snippets of text

In our previous 'Wiki' we had something called a Snippet.

If I wanted to put a tab in my content, instead of typing ' ' I created a snippet called 'tab' and entered {s:tab} which was replaced by the formatter at save time to reflect a tab character.

Is this possible in Confluence? I find that I really miss the ability to have a tab in my content.

I realize I can use tables, but it's not the same.

1 answer

I wrote a simple user macro that kind of works the way you want.

## Macro title: Tab
## Macro has a body: N
## Body processing: n/a
## Output: HTML
##
## Developed by: Milo Grika
## Date created: 30 JUL 2015
## Installed by: Milo Grika
## @noparams
<span>&emsp</span>

Not exactly a tab, but when you want some space, type a space then {tab} then whatever else. Sadly, there has to be a space before the macro, and even if you use Insert–>Macro, it will still put a space before it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

138 views 6 8
View post

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