# How to print a single-spaced newline in Pluto Markdown cell?

**URL:** <https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138>\
**Category:** New to Julia\
**Tags:** pluto, pluto-markdown\
**Created:** [May 14, 2021, 10:02am UTC](https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138 "2021-05-14T10:02:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [May 14, 2021, 10:02am UTC](https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138/1 "2021-05-14T10:02:22Z")

</div>

Hi everyone,  
Is it possible to have a single spaced line-break inside a markdown block in a pluto cell of the form

```julia
md""" 
*something* newline
*something else
"""

```

I read that markdown should support either multiple spaces, or \*\* or \<br\> at the of a line for this functionality but those don’t seem to work.  
I have also found [this](https://discourse.julialang.org/t/how-can-i-display-single-spaced-multi-line-text-in-pluto/44483) discourse thread that seemed to ask almost the same thing but not focused on a markdown cell (the solution simply wraps the whole text string in Text(), but I would like to maintain the markdown formatting).

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike/32/39_2.png) [@mike](https://discourse.julialang.org/u/mike)\
**Post date:** [May 14, 2021, 10:29am UTC](https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138/2 "2021-05-14T10:29:58Z")

</div>

```julia
julia> md"""
       *something* newline\
       *something else
       """
  something newline
  *something else

```

A trailing `\` at the end of a line is what you want. Some markdown parsers also support two spaces at the end of a line as well, but that’s not terribly readable… and so wasn’t ever implemented in the `Markdown` stdlib. (There’s nothing `Pluto`-specific about markdown parsing and rendering, it’s just using the building functions as far as I know.)

---

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [May 14, 2021, 11:53am UTC](https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138/4 "2021-05-14T11:53:45Z")

</div>

Oh god I feel stupid now but I was sure to have tried…  
I just tried again now and indeed it works also in Pluto.

Thanks for the reply!

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [June 15, 2022, 7:33am UTC](https://discourse.julialang.org/t/how-to-print-a-single-spaced-newline-in-pluto-markdown-cell/61138/5 "2022-06-15T07:33:22Z")

</div>

See also PlutoUI’s `br` for linebreaks without having an actual line break in the code:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/9/695a93f01e05454b6a8e0da918c4c8598ef32cf8.png)
