# New paragraph instead of linebreak

**URL:** <https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876>\
**Category:** support\
**Created:** [April 19, 2020, 8:31pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876 "2020-04-19T20:31:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kewek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kewek/32/10614_2.png) [@kewek](https://discourse.gohugo.io/u/kewek)\
**Post date:** [April 19, 2020, 8:31pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/1 "2020-04-19T20:31:00Z")

</div>

When I use a Markdown linebreak (two spaces at end of line), I can’t manage to create a new `<p>` tag, instead getting `<br>`s after each line in a single `<p>` tag.

```auto
Hello.--
Can I be indented?

```

returns

```auto
<p>Hello.<br>Can I be indented?</p>

```

I’m trying to just indent every Markdown line, so if any other methods can be used, that’d be nice to know as well. (AFAIK I can’t indent after a `<br>`)  
Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [April 19, 2020, 9:24pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/2 "2020-04-19T21:24:23Z")

</div>

I always have a cognitive dissonance when talking about this.

> [@kewek](#):
>
> When I use a Markdown linebreak (two spaces at end of line), I can’t manage to create a new `<p>` tag, instead getting `<br>` s after each line in a single `<p>` tag.

A linebreak is not a new paragraph. Like, as a concept. Something to consider. 🙂

> [@kewek](#):
>
> I’m trying to just indent every Markdown line, so if any other methods can be used, that’d be nice to know as well. (AFAIK I can’t indent after a `<br>` )

What does “indent” mean in this context? Also, if that isn’t what you want to return, please show the HTML you _do_ expect returned. 🙂

---

<div class="post-metadata">

**Author:** ![kewek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kewek/32/10614_2.png) [@kewek](https://discourse.gohugo.io/u/kewek)\
**Post date:** [April 19, 2020, 11:24pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/3 "2020-04-19T23:24:46Z")

</div>

Ah ye, concept-wise I guess I wasn’t clear.  
From

```auto
Hello!--
I'd like to be another p tag.

```

(The `-`s are supposed to be end spaces) I’d like:

```auto
<p>Hello!</p>
<p>I'd like to be another p tag</p>

```

But I get:

```auto
<p>Hello!<br>
I'd like to be another p tag</p>

```

By indent, I meant that I planned to apply a `text-indent` CSS style, and indent each `<p>` tag.

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [April 20, 2020, 2:30am UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/4 "2020-04-20T02:30:20Z")

</div>

Markdown isn’t really a standard, but in my experience double spaces add line breaks, via the br element.

Normally to seperate paragraphs one uses a full newline. Which markdown parser are you coming from?

---

<div class="post-metadata">

**Author:** ![kewek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kewek/32/10614_2.png) [@kewek](https://discourse.gohugo.io/u/kewek)\
**Post date:** [April 20, 2020, 2:59pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/5 "2020-04-20T14:59:29Z")

</div>

Ah, I guess I’d missed that when I learned Markdown. It does generate `<p>`s now when I insert full newlines.  
Thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [April 22, 2020, 2:59pm UTC](https://discourse.gohugo.io/t/new-paragraph-instead-of-linebreak/24876/6 "2020-04-22T14:59:31Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
