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
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
Published 33m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

26 views 3 3
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