From the course: Learning Markdown: Formatting Text without the Complexity

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

ATX headings and headlines

ATX headings and headlines

- [Instructor] One of the most common type of elements in Markdown are paragraphs and headlines. Now, paragraph text couldn't be easier. A paragraph is essentially one or more lines of text separated by one or more blank lines. Now you can see here that if I add a extra carriage return right here, it shows up as a separate line. So this will be like a break character in HTML or a soft return, but if I add two or more lines of text, then that just renders as a different paragraph. Now, notice that if I add a bunch of carriage returns here, it doesn't render any differently. So sometimes you can use that to sort of give you a little bit more breathing room in the project that you're trying to write. Now, you can also use the HTML break character to force a carriage return in a specific place. Let's go ahead and get rid of this break character. Markdown thinks of two tabs in front of paragraphs as an attempt to write code blocks. So if we add two tabs right here, you'll see that the text…

Contents