# Text + linebreak + two dashes is formatted like heading?

**URL:** <https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335>\
**Category:** Basement\
**Created:** [September 18, 2021, 6:16pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335 "2021-09-18T18:16:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fenrix](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/91b2a8/32.png) [@Fenrix](https://forum.obsidian.md/u/Fenrix)\
**Post date:** [September 18, 2021, 6:16pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335/1 "2021-09-18T18:16:40Z")

</div>

Hey, i am currently exploring Obsidian and i noticed, when it type some text, followed by a new line followed by two dashes it is formatted like a heading.

So for example:

```auto
Test
--

Some more text

```

looks like this:  
 ![Test](https://forum.obsidian.md/uploads/default/original/3X/d/1/d1f57533c23df2e2ac04150cb94131c46931b7ea.png)

When i tried this in another online markdown editor, i didnt see any highlighting of the text.

Is there anything i am missing?

---

<div class="post-metadata">

**Author:** ![anon12638239](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/2bfe46/32.png) [@anon12638239](https://forum.obsidian.md/u/anon12638239)\
**Post date:** [September 18, 2021, 6:21pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335/2 "2021-09-18T18:21:30Z")

</div>

That’s a standard [setext-style header](https://daringfireball.net/projects/markdown/syntax#header):

> Setext-style headers are “underlined” using equal signs (for first-level headers) and dashes (for second-level headers). For example:

```auto
This is an H1
=============

This is an H2
-------------

```

Angel

---

<div class="post-metadata">

**Author:** ![Fenrix](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/91b2a8/32.png) [@Fenrix](https://forum.obsidian.md/u/Fenrix)\
**Post date:** [September 18, 2021, 6:30pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335/3 "2021-09-18T18:30:16Z")

</div>

Thanks alot, I didn’t find this information before

---

<div class="post-metadata">

**Author:** ![anon12638239](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/2bfe46/32.png) [@anon12638239](https://forum.obsidian.md/u/anon12638239)\
**Post date:** [September 18, 2021, 7:40pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335/4 "2021-09-18T19:40:01Z")

</div>

A pleasure.

Angel

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [September 19, 2021, 7:40pm UTC](https://forum.obsidian.md/t/text-linebreak-two-dashes-is-formatted-like-heading/24335/5 "2021-09-19T19:40:52Z")

</div>

Closed on September 19, 2021, 7:40pm UTC

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