Languages

Markdown - how to create space between two lines?

0 points
Asked by:
WGates
412

How can I add spaces between two lines in markdown?

I need something like this:

# Header 1

Some description...

\n\n - some space here (blank line or two)

# Header 2

Some description...
1 answer
0 points
Answered by:
WGates
412

You can add <br/> in the source if your Markdown compiler supports HTML.

Another option is to use &nbsp; (non-breaking space).

 

References

  1. <br>: The Line Break element - HTML: HyperText Markup Language | MDN
0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join