Skip to content

Instantly share code, notes, and snippets.

@DevGW
Created March 13, 2023 16:06
Show Gist options
  • Save DevGW/bb831e4453e9b685cf8a8a72ba429dbb to your computer and use it in GitHub Desktop.
Save DevGW/bb831e4453e9b685cf8a8a72ba429dbb to your computer and use it in GitHub Desktop.
Markdown Cheatsheet #hha_ank #cheatsheet #git #markdown

Reference

Headers

# h1
## h2
### h3
#### h4
##### h5
###### h6
Header 1
========
Header 2
--------

Emphasis

*italic*
_italic_
**bold**
__bold__
***bold italic***
___bold italic___
~~strikethrough~~
`code`

Lists

* Item 1
  * Nested Item 1
* Item 2
- Item 1
  - Nested Item 1
- Item 2
- [ ] Checkbox off
- [x] Checkbox on
1. Item 1
2. Item 2

Links

[link](http://google.com)
[link][google]
[google]: http://google.com
<http://google.com>

Images

![Image alt text](/path/to/img.jpg)
![Image alt text](/path/to/img.jpg "title")
![Image alt text][img]
[img]: http://foo.com/img.jpg

Code

`inline code`
    4 space indent
    makes a code block
```
code fences
```
```js
codeFences.withLanguage()
```

Blockquotes

> This is
> a blockquote
>
> > Nested
> > Blockquote

Horizontal line

----
****

Tables

| Column 1 Heading | Column 2 Heading |
| ---------------- | ---------------- |
| Some content     | Other content    |
Column 1 Heading | Column 2 Heading
--- | ---
Some content | Other content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment