Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Control of Line Spacing

I have just upgraded to v4.0 and I see that we no longer have to use the Wiki Markup, very good except for the one thing that I used it for most.

When editing, the Standard editor anoyingly puts in double spacing every time you hit return to go to the next line, so I used to go to the Wiki editor and take out all these extra lines.

How do I do it now, or set the default line spacing at single space instead of double space?

10 answers

1 accepted

26 votes
Answer accepted

You mean he starts a new paragraph instead of using the next line? I do not have C4 running here at the moment, but can you try with SHIFT+Enter?

Shift+enter is also commonly used in Word and other editors to get a new line instead of a new paragraph. But it should be in the keyboard shortcut list as it is quite usefull.

I have no idea if you can change it to default.

Like # people like this

Thanks Thomas

Indeed shift+enter works, how did you know that - its not in the Keyboard Shortcut list!

Or is there some unofficial list somewhere?

anyway since I need a new line more often than a new paragraph can I make it the normal response to hitting the enter key?

Like sblack likes this

SHIFT+Enter is fairly common in editors. Indeed it works here too:

Hit the Enter key:

You get here

Hit SHIFT+Enter:
You get here

Like # people like this

This is obviously the right answer - although I had never come accross it before

Whether this works in Word I don't know, it doesn't seem to be in the Word 2003 list of keyboard short cuts

It seems that there is a difference between a hard return and a soft return although the nuance escape me.

Like Jeffrey Cook likes this

Thomas, you saved my day! Thanks! 🙏🏾

This doesnt work when you are trying to continue a bulleted list. 

Shift+Enter or simply Enter can be a workaround, not the efficient method when you have to publish a number of articles on daily basis.

I would vote to have a Line Spacing control button on the toolbar. That would make the job easy for authors.

I would vote to simply put back the old Wiki Markup which allows the user to explicitly control the display that he/she may want.  The WYSIWYG functionality of confluence is by far the absolute WORST in all editors I've seen.  MS Word, Google docs etc are all much easier.

Like Robert Sosnowski likes this

I agree. Shift+Enter is way too slow if you are copy/pasting from notepad or outlook. I vote to put back the old jira comment editor or just give the option to default to one line, no space.

I agree with Michael. It is such an obvious thing. If the Enter problem is so complex that cannot be repaired after many years of investigation than the change should be reverted. At least user should have easy access to switch mode to markup.

None of these solutions are working for me. I use a mac.  Why would setting spacing be so difficult?  It's important and basic and should be easy.

I have to agree, not making some method of controlling line space seems like an oversite that should be easily corrected.

For me, the space between paragraphs is simply too big (it appears to be a whole line-height!). I'd be happy to reduce it something smaller or just offer a cfg.

I can't change this at all. For me, shift + Enter is simply deleting the text. I really would like to see this be a format menu item so it can be applied to parts of the larger text formatting.

What about half-line spacing?

After a procedural step, I frequently want to add some descriptive text. I need something between placing it immediately underneath the numbered step versus a new paragraph. Neither is satisfactory. For example:

  1. Step 1
    Result description
  2. Step 2

    Result description
  3. Step 3

One option is too tight; the other is too spacy. Too binary for me - I need a middle option!

I believe I just discovered how to do this (after a lot of frustration - no thanks to Confluence!). If you can use the Source Editor, then adjust the line height using "line-height" command. For example: <span style="line-height: 2;">your text</span>

I find that "2" aligns with Heading 2 spacing and you can play around with 1.5, 1.6 (etc.) spacing as needed.

Like # people like this

How do you get to the source editor?



I think it should be the other way around: When you hit Enter (or Carriage Return character ASCII code) the cursor should move on the next row, as it has always been since the beginning of computers. 

Only when you hit Shift + Enter (or other shortcut) the cursor should move 1.5 lines lower.

This spacing bug  I have seen only in Jira. I have the impression that some people think they are more interesting or more creative if they do everything the other way around.

Like jody likes this

yeah, it appears the developers think no one ever hits enter while typing a bug ticket... apparently we only write paragraph documents...

@jody , developers (at least Atlassian developers) don't give a damn about what users actually do.  If they did, such a minor issue wouldn't stay a "pending feature request" for 10 years ( @Dave posted his request in 2011!).

MS Word and Google docs both allow this i.e. controlling line spacing which is a basic document editor features.  Evidently, Atlassian thinks they know better and you must do what you're told as Atlassian knows whats good for you and what you need.

Both Shift-Enter and the "No Format" solutions do work when creating new pages.

HOWEVER, what if I have an existing (large) page full of hard (double spacing) hard returns and I want to replace them all with soft (single-space) returns?

How do I do that?

Right now, I need to copy the text I want to fix, paste it into a real editor like NotePad++ or Eclipse, remove the extra in-between lines, and then copy and paste into Confluence. 

This manual work is crazy. Not that the Great Newline Schism was your fault, but you need to give us the opportunity to easily fix it in our documents. (see 

Doesn't Confluence have a search and replace for replacing CRLF (CarriageReturn LineFeed = 0x0D (13 decimal) and 0x0A (10 decimal)) with NL (NewLine)? (or whatever it takes).

I found the magnifying glass at the right of the editor-panel (when in edit mode), but there doesn't seem to be a way to paste a CRLF into the Search field, nor a LF into the Replace field.


4 votes

Should also highlight that we have a feature request to change the default paragraph bahaviour. If you think that would help you, you might want to watch/vote this issue:

That's closed-wontfix, so voting probably won't help

@David Skreiner2, that's another reason to use competing solutions.

Like Michael Davé likes this

This really should be simple, allow someone who is using an atlassian editor to set a preference on line spacing... if confluence, then for the page they are editing would be fine, if JIRA then a user level setting.

IN JIRA (where it bothers me far more because shfit + enter groups items together so formatting will stick to all of them... [as it should]).
Anyway, in JIRA it should be a user setting as I work on so many tickets that an editor specific one would be a headache...
NOTE: I would NEVER willingly choose double spaced text as a default in anything... 

I second that.  The first thing I do when I open word is turn off double spacing.  I still remember when the paragraph thing started being implemented into WORD.  I mean... how hard is it to simply press the enter key twice for a new paragraph.  I've been upset about this for over a decade and now I see it everywhere.  So annoying.  What's even better is pasting between Jira and Confluence... you'd think it would work but no... then I thought well... maybe I can paste from Word over to confluence... nope that also didn't go over well... then I thought... maybe if I first upload my Word doc into Jira/Confluence and then copy paste from that into a page in Confluence... also didn't give me results that I desired.  No matter what I'm having to manually copy/paste sections of the document so I can spend hours getting rid of double spacing and all other format issues.

@sblack, Atlassian DOES NOT CARE.  My proof?  This has now been pending for 10 years.  Think about it.  They can't and won't deliver BASIC word processing features for over 10 years.  Translation:  We have your money and we're the only game in town so Mr. Customer, go fly kites.

I've seen this across the board with Atlassian.  Their responses are either how to do it if the feature exists or to put it in the product backlog for eternity.

I concur with @Ilguiz Latypov .  Run, don't walk to other solutions.

Here is a way to paste single spacing

Use a macro called "no format"
So be where you want to paste in the confluence document. Type a left curly bracket (uppercase the left square bracket), then start typing no format. Select the "no format" option. This creates a box that when you paste single spaced text it stays single spaced in the box.

Note, when typing that shift enter does single spacing, where enter does double spacing. This works in word and wordpad also.

This solution was amazing.

I had monospace text from a text file that I wanted to paste into a new Confluence page, but Confluence kept "helpfully" converting all my New Lines to New Paragraphs and consolidating multiple space strings into a single space.

"No Format" fixed all that.  Many thanks!

nice solution, but ridiculous that one has to jump thru so many hoops

Like Desiree_Anson likes this

Recent updates to Jira have been infuriating. Not least of which is default line spacing and how difficult it is to change. The interface is getting more cluttered and bulky.

Why do software engineers seem to have no connection to real world usage?

@Benjamin Smith , why do software engineers have no connection to the real world?  The answer is in the question:  They don't live in the real world but in their own world.  Real world users and their needs are a nice convenience, not a necessity.  Users are supposed to serve their ever beneficent software overlords who, in their infinite grace, have bestowed upon you this magic called software.

So, philistine, bow and give thanks to your overlords and accept what is given.  Oh, and by the way, leave your all your money before you leave as an offering to your overlords.

Software engineers should be forced to undergo listening and empathy training.  In very few other professions are paying customers looked down upon so much and so widely.

As a programmer, who works with and has worked with other programmers for years, the truth, (of course), isn't so clear.

There are many programmers who don't understand the users perspective, that is definitely true.
However most of those it is not in any way intentional, but instead a matter of perspective. They work on the technical details of creating the software ... so they see the technical details far more easily than the users experience.

However, there are people who are experts in understanding the user experience and what works best and what is needed. 
The problem is that many organizations don't even open a position for these people, or worse, they hire one and then won't listen.
But it's the management and business side that typically won't listen (or won't see the need).

@Matt Rummler , I have worked in the tech industry for almost 30 years and still work with developers.

Having said that, yes, I take your point that developers not understanding user's perspective is not intentional.  My point, however, is that most developers are far more interested in putting new features or trying the next "cool" tool/language/framework rather than taking up the backlog of user feedback.  They explicitly pushback or express strong dislike for this type of work unless they're made to work on it by management.

So, the blame is shared between management and developers.  This is endemic to the tech industry unlike other industries.  Can you imagine a restaurant or an architect or a carpenter or a retailer saying to their customers "You'll get what I give you, not what you want.  Take it or leave it"?

Like Tasha van Es likes this

I believe I just discovered how to do this (after a lot of frustration - no thanks to Confluence!). If you can use the Source Editor, then adjust the line height using "line-height" command. For example: style="line-height: 2;" (I used in under "span" headline)

I find that "2" aligns with Heading 2 spacing and you can play around with 1.5, 1.6 (etc.) spacing as needed.

Here is a way

Use a macro called "no format"
So be where you want to paste in the confluence document. Type a left curly bracket (uppercase the left square bracket), then start typing no format. Select the "no format" option. This creates a box that when you paste single spaced text it stays single spaced in the box.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,574 views 7 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you