cheatsheet.md 2.1 KB
Newer Older
J
junkunzhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
# Markdown Cheat Sheet


## Formatting
Paragraphs are separated by a blank line.

Emphasis is given with *italic*, **bold**, and `monospace`.

```
Emphasis is given with *italic*, **bold**, and `monospace`.
```

## Lists
Itemized lists

  * item 1
  * item 2
  * and so one ...

```
Itemized lists

  * item 1
  * item 2
  * and so one ...

```

## Headers

Section headers either start with a # ...
```
# h1
## h2
### h3
```

or are underlined

```
h1
================

h2
----------------
```
## Block Quotes

> Block quotes are
> written like so.
>
> They can span multiple paragraphs,
> if you like.

```
> Block quotes are
> written like so.
>
> They can span multiple paragraphs,
> if you like.
```


## Code

Code can be inserted with ` ``` `

~~~

```
void DoSomethingCool()
{
    // put some cool code here ...
}
```
~~~

Syntax highlighting will be supported in future versions :)


## Nesting

You can nest items in a list ...

 1. First, get these ingredients:

      * carrots
      * celery
      * lentils

 2. Boil some water.

 3. Dump everything in the pot and follow
    this algorithm:

        find wooden spoon
        uncover pot
        stir
        cover pot
        balance wooden spoon precariously on pot handle
        wait 10 minutes
        goto first step (or shut off burner when done)

    Do not bump wooden spoon or it will fall.


## Horizontal Line

You can insert a line with ` ---`

```
---
```
---

## Links

Here is a link to the [readme](readme.md) file

An an external link to the [unity documentation](https://unity3d.com/)

An link to [the top](#markdown-cheat-sheet) of this document (section header)


```
Here is a link to the [readme](readme.md) file
An an external link to the [unity documentation](https://unity3d.com/)
An link to [the top](#markdown-cheat-sheet) of this document (section header)
```

## Images

You can also include images!

![Failed to load text](https://loremflickr.com/320/240 "Image Tooltip!")

```
![Failed to load text](https://loremflickr.com/320/240 "Image Tooltip!")

```