The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to create repeatable snippets of text

Ralph Avery
November 4, 2012

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 30, 2015

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.

TAGS
AUG Leaders

Atlassian Community Events