= sign below sentence makes it bigger and allows to collapse the equal sign... What for?

Things I have tried

What I’m trying to do

Any idea ? Thanks

Because the Markdown parser “thinks” you want to write a, what they call it, “Setext” (structure-enhanced text) heading of level 1.

Like in

This is a Setext H1
=

Just add an extra newline.

Btw, this will also happen with one or more - for H2.

It was originally meant to more easily convert old text files to Markdown, where we used to write things like

This is a heading.
==================

Some text.

This is a subheading.
---------------------

More text.

Nowadays almost everyone uses the ATX heading style, since it offers heading levels 1…6:

# Heading Level 1
## Heading Level 2
### Heading Level 3
#### Heading Level 4
##### Heading Level 5
###### Heading Level 6

Thanks, that was quick :slight_smile:

1 Like

If it helped, you might want to mark it a solution, so others know this has been solved. (A green checkbox then appears in the list.)

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