Less Is More

make technology your playground

Markdown Review

Markdown is a lightweight and easy-to-use syntax for styling all forms of writing on the GitHub platform.

For full reference, check out Mastering Markdown

Syntax

Headers

# h1

h1

## h2

h2

###### h6
h6

Emphasis

*italic*
or
_italic_

italic

**bold**
or
__bold__

bold

Lists

Unordered

* item 1
* item 2
  * item 2a
  * item 2b
  • item 1
  • item 2
    • item 2a
    • item 2b

Ordered

1. item 1
2. item 2
3. item 3
  * item 3a
  * item 3b
  1. item 1
  2. item 2
  3. item 3
    • item 3a
    • item 3b

Images

![alt text](image url)

alt text

[link](link url)

link

Blockquotes

>Lorem ipsum dolor sit amet.

Lorem ipsum dolor sit amet.

Inline Code

`code`

code

GitHub Flavored Markdown

Note that some of them aren’t part of the core Markdown spec, but they are part of GFM and Markdown on GitHub does support them.

Syntax Highlighting

```javascript
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}```
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}

Task Lists

- [x] task 1
- [x] task 2
- [ ] task 3
  • task 1
  • task 2
  • task 3

Tables (NOT core Markdown spec)

First Header | Second Header
------------ | -------------
Lorem ipsum dolor. | Lorem ipsum dolor.
Lorem ipsum dolor sit. | Lorem ipsum dolor sit.

Strikethrough

~~strikethrough~~

strikethrough

Emoji (NOT core Markdown spec)

:emojicode:

After Words

check out Emoji Cheat Sheet