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 - Markdown Tutorial
From the course: Learning Markdown: Formatting Text without the Complexity
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
-
-
-
The different flavors of markdown2m 43s
-
Inline content3m 39s
-
(Locked)
ATX headings and headlines3m 35s
-
(Locked)
Using blockquotes1m 41s
-
(Locked)
Thematic breaks and horizontal rules1m 47s
-
(Locked)
Using lists3m 54s
-
(Locked)
Auto links, inline links, and link references5m 29s
-
(Locked)
Adding images6m 55s
-
(Locked)
Using HTML and CSS in Markdown7m 8s
-
-