chicken_dy/Assets/WX-WASM-SDK/UnityMarkdownViewer/Documentation/cheatsheet.md

141 lines
2.1 KiB
Markdown
Raw Normal View History

2022-07-27 13:57:29 +00:00
# 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!")
```