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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events