Text + linebreak + two dashes is formatted like heading?

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:

Test
--

Some more text

looks like this:
Test

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

Is there anything i am missing?

1 Like

That’s a standard setext-style header:

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

This is an H1
=============

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

Angel

2 Likes

Thanks alot, I didn’t find this information before

1 Like

A pleasure.

Angel

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