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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

23 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

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.

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?

Thanks,

Des

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

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 https://blog.codinghorror.com/the-great-newline-schism/) 

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.

 

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.

3 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: https://jira.atlassian.com/browse/CONF-5949

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

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

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

sblack I'm New Here Jul 30, 2020

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.

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
1 vote

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?

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.

 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

494 views 24 9
Join discussion

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