readme markdown cheat sheet code example
Example 1: how to create link in readme.md
[a link] (https://github.com/user/repo/blob/branch/other_file.md)
Example 2: markdown link
[I'm an inline-style link](https://www.google.com)
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")
[I'm a reference-style link][Arbitrary case-insensitive reference text]
[I'm a relative reference to a repository file](../blob/master/LICENSE)
[You can use numbers for reference-style link definitions][1]
Or leave it empty and use the [link text itself].
URLs and URLs in angle brackets will automatically get turned into links.
http://www.example.com or <http://www.example.com> and sometimes
example.com (but not on Github, for example).
Some text to show that the reference links can follow later.
[arbitrary case-insensitive reference text]: https://www.mozilla.org
[1]: http://slashdot.org
[link text itself]: http://www.reddit.com
Example 3: markdown image
![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)
Example 4: bold markdown
# Bold
I just love **bold text**.
I just love __bold text__.
Love**is**bold
# Italic
Italicized text is the *cat's meow*.
Italicized text is the _cat's meow_.
A*cat*meow
Example 5: h1 markdown
# H1
## H2
### H3
#### H4
##### H5
###### H6
Example 6: markdown cheat sheet
| CRUD | HTTP method | Path | Description | Mongoose methods |
|-------- |------------- |----------- |---------------- |----------------------------------- |
| Read | GET | /cats | get all cats | Cat.find( ) |
| Read | GET | /cats/:id | get one cat | Cat.find({_id:id}) |
| Create | POST | /cats | create one cat | new Cat( ) .save( ) |
| Delete | DELETE | /cats/:id | Delete one cat | Cat.findAndDelete |
| Update | PUT | /cats/:id | Update one cat | Cat.find (make changes).save |
| | | | | Cat is the Mongoose model |