Permalink
Browse files

added markdown cheatsheet

  • Loading branch information...
reuben committed Jan 10, 2019
0 parents commit af51458d716f5a6f0dbcad65d7ae5c3fd10da320
Showing with 129 additions and 0 deletions.
  1. +129 −0 README.md
129 README.md
@@ -0,0 +1,129 @@
# h1 -- top level heading - has a line under it
```
# h1 -- top level heading - has a line under it
```
## h2 -- pretty big -- also has a line
```
## h2 -- pretty big -- also has a line
```
### smaller heading -- no line
```
### smaller heading -- no line
```
#### basically just bold text with some space -- no line
```
#### basically just bold text with some space -- no line
```
to create a line, 3 hyphens with blank line before and after
---
```
---
```
### Bulleted List & inner indented multi level nested Bulleted listss
* item
* item
* item
* item level 2
* item level 2
* item level 2
* item level 3
* item level 3
* item level 3
```
* item
* item
* item
* item level 2
* item level 2
* item level 2
* item level 3
* item level 3
* item level 3
```
### Bold text
**HERE IS SOME bold text** here is some not bold text
```
**HERE IS SOME bold text** here is some not bold text
```
### Italics
_HERE IS SOME italicized text_ here is some not italicized text
```
_HERE IS SOME italicized text_ here is some not italicized text
```
### CODE
#### Block of code -- use 3 backticks (like slack)
```js
const sayHello = () => {
return "hello"
}
```
(^^check the source code for this)
#### Inline code (small snippets): use backticks
here is some code: `const name = "ted";`
```
here is some code: `const name = "ted";`
```
### Hide and show with `<details>`
Write a function that does stuff!
<details>
here's one possible solution
`const func = () => console.log("i'm doing stuff")`
</details>
```
<details>
here's one possible solution
`const func = () => console.log("i'm doing stuff")`
</details>
```
## Links
[Here](https://developer.mozilla.org/en-US/) is a link to MDN. Here is a link to the page for [.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) on mdn. Learn it.
```
[Here](https://developer.mozilla.org/en-US/) is a link to MDN. Here is a link to the page for [.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) on mdn. Learn it.
```
## Images -- very similar to links
![Ro Laren](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTqVLbU9hOitk5GETAACt_2O9npLrJDzHi70-Rrdr9IwKJnyImK)
```
![Ro Laren](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTqVLbU9hOitk5GETAACt_2O9npLrJDzHi70-Rrdr9IwKJnyImK)
```

0 comments on commit af51458

Please sign in to comment.