Markdown paragraph spacing

I use markdown most of the time but one thing that bugs me is paragraph spacing is effectively a 3 line space rather than 2.

This can be worked around by using a double html break tag but am I missing something or is there a more elegant way to do this? I doing mind larger paragraph spacing with long paragraphs but if you have a series of shorter paragraphs it leaves far too much space.

Most of my projects use Source but the way but I think this happens in other markdown stacks

It’s not relaxed to Markdown but the p tag. You are able to change the spacing with CSS.

1 Like

Thanks Jannis - I tried the following but, whilst the line spacing works, the margin setting has no effect.

p {
  line-height: 30px;  
  margin: 15px 0;
}

The idea being to be able to set both top and bottom paragraph margins but doesn’t work at all.

Any suggestions?

In Source you could try adjusting down the general margin set in the main Source stack.

5 Likes

I saw this but ignored it as I thought it would only be for Forms and Tables! But quite right - it does the trick :) Another hidden gem in Source!

1 Like