Markdown: Heading and Paragraphs
The following examples assume one using markdown to display similiarly to HTML.
Example: Paragraphs in Markdown
To create a paragraph in markdown all you have to do this write the paragraph. For more than one paragaph, seperate the paragraphs with a blank line.
This is the first paragraph.
This is the second paragraph.
Example: Headings in Markdown
HTML has six sizes of headings: h1 through h6. This is how they would be written in markdown.
# Hello
## Hello
### Hello
#### Hello
##### Hello
###### Hello
Output:
The markdown code above (with the # symbols) is equivalent to the HTML code below.
<h1>Hello</h1>
<h2>Hello</h2>
<h3>Hello</h3>
<h4>Hello</h4>
<h5>Hello</h5>
<h6>Hello</h6>