Markdown Syntax

/ 2 min read

Table of Contents

Headings

H1

H2

H3

H4

H5
H6

Paragraph

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisquam sit consequat porro irure ut quos quae dolore illo quas. Odit ab deleniti irure beatae nemo nostrud praesentium cillum sed. Tempora aliquip dolor fugiat illo quaerat aute ducimus porro ullamco animi atque illo odit id.

Cillum ut aliqua dolorem est architecto velit vitae commodo ea ea dolores. Lorem veritatis do magnam iusto.

Blockquotes

In the midst of winter, I found there was, within me, an invincible summer.

Blockquotes with attribution

Don’t communicate by sharing memory, share memory by communicating. — Rob Pike1

Blockquote with Multiple Paragraphs

In the midst of winter, I found there was, within me, an invincible summer.

And that makes me happy. For it says that no matter how hard the world pushes against me, within me, there’s something stronger – something better, pushing right back.

Nested Blockquotes

In the midst of winter, I found there was, within me, an invincible summer.

And that makes me happy. For it says that no matter how hard the world pushes against me, within me, there’s something stronger – something better, pushing right back.

Blockquotes with Other Elements

The quarterly results look great!

  • Revenue was off the chart.
  • Profits were higher than ever.

Everything is going according to plan.

Tables

Text aligned on the leftText aligned in the centerText aligned on the right
leftcenterright
leftcenterright
leftcenterright
leftcenterright

Inline Markdown within tables

Inline styleRendered
_italics_italics
**strong**strong
codecode
~~strikethrough~~strikethrough
[Link](https://example.com)Link

List Types

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • List item
  • Another item
  • And another item

Nested Ordered list

  1. Fruit
    • Apple
    • Orange
    • Banana
  2. Dairy
    1. Milk
    2. Cheese
  3. Third item
    1. Sub One
    2. Sub Two

Nested Unordered list

  • Fruit
    • Apple
    • Orange
    • Banana
  • Dairy
    • Milk
    • Cheese

Task List

  • Write the press release
  • Update the website
  • Contact the media

Definition List

First Term
This is the definition of the first term.
Second Term
This is one definition of the second term.
This is another definition of the second term.

Other Elements — abbr, sub, sup, kbd, mark

GIF is a bitmap image format.

H2O

Xn + Yn = Zn

Press CTRL+ALT+Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.


  1. The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎