Skip to content

Instantly share code, notes, and snippets.

@serhiiminin
Created February 5, 2019 14:52
Show Gist options
  • Save serhiiminin/810bded3f028794ec3ad8b3dc82b3bea to your computer and use it in GitHub Desktop.
Save serhiiminin/810bded3f028794ec3ad8b3dc82b3bea to your computer and use it in GitHub Desktop.

Markdown

Headers

# H1
## H2
### H3
#### H4
##### H5
###### H6

New line - <br/> or two spaces

Blockquotes - > Blockquotes

*escape* - \ escape (backslash character) to prevent applying ** as italic

Emphasis

Italic *Italic* or _Italic_
Bold **Bold** or __Bold__
Strikethrough ~~Strikethrough~~

List

Ordered

1. One
2. Two
  1. One
  2. Two

Unordered

* one
* two
  • one
  • two

Code and Syntax Highlighting

const a = {
    key: 'value'
}

```
const a = {
key: 'value'
}
```

+ was added 
- was removed

```diff
+ was added
- was removed
```

const func = a => a*2;
console.log(func(5));

```javascript
const func = a => a*2;
console.log(func(5));
```

Links

Inline link [Inline link](https://www.google.com)

Reference link

[Reference link][ref] 

[ref]: http://google.com

Images

Here's our logo (hover to see the title text):

Inline-style: 
![alt text](https://avatars1.githubusercontent.com/u/9919?s=200&v=4 "Title Inline-style")

Inline-style:
alt text

Reference-style: 
![alt text][logo]

[logo]: https://avatars1.githubusercontent.com/u/9919?s=200&v=4 "Title Reference-style"

Reference-style:
alt text

Tables

| Name | Info |
| --- | --- |
| Alex | [info/alex][alex-link] |
| Dan | [info/dan][dan-link] |

[alex-link]: http://alex...
[dan-link]: http://dan...
Name Info
Alex info/alex
Dan info/dan

Tasks

- [ ] To do
  • To do
- [x] Done
  • Done

Emoji

:+1: :sparkles: :camel: :tada:
:rocket: :metal: :octocat:

👍 ✨ 🐫 🎉 🚀 🤘 :octocat:

Prepared by @serhiiminin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment