Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Latest commit

 

History

History
108 lines (70 loc) · 1.44 KB

markdown_reference.md

File metadata and controls

108 lines (70 loc) · 1.44 KB

Syntax Cheatsheet

Phrase Emphasis

italic bold italic bold

Links

Inline: An example

Reference-style labels (titles are optional): An example. Then, anywhere else in the doc, define the link:

Images

Inline (titles are optional): alt text

Reference-style: alt text

Headers

Setext-style: Header 1

Header 2

atx-style (closing #'s are optional):

Header 1

Header 2

Header 6

Lists

Ordered, without paragraphs:

  1. Foo
  2. Bar

Unordered, with paragraphs:

  • A list item.

    With multiple paragraphs.

  • Bar

You can nest them:

  • Abacus
    • answer
  • Bubbles
    1. bunk
    2. bupkis
      • BELITTLER
    3. burper
  • Cunning

Blockquotes

Email-style angle brackets are used for blockquotes.

And, they can be nested.

Headers in blockquotes

  • You can quote a list.
  • Etc.

Code Spans

<code> spans are delimited by backticks.

You can include literal backticks like `this`.

Preformatted Code Blocks

Indent every line of a code block by at least 4 spaces or 1 tab. This is a normal paragraph.

This is a preformatted
code block.

Horizontal Rules

Three or more dashes or asterisks:




Manual Line Breaks

End a line with two or more spaces: Roses are red,
Violets are blue.