Markdown Cheatsheet

07/03/2024

This is a cheatsheet I made that covers some basic markdown syntax. I got most of the content from the Markdown cheatsheet by devhints.io.

Headers

# h1
## h2
### h3
#### h4
##### h5
###### h6

Header 1
========


Header 2
--------

Code

  `Inline code`
   
  ``2` inline code``
   
  ```3` inline code```
   
      Unfenced code block
   
  ```
  Fenced code block
  ```
   
  ~~~
  Fenced code block
  ~~~
   
  ```js
  // Fenced JS code block
  ```

Tables

| Column 1 Heading | Column 2 Heading |
| ---------------- | ---------------- |
| Some content     | Other content    |


Column 1 Heading | Column 2 Heading
--- | ---
Some content | Other content

Emphasis

*italic*
_italic_

**bold**
__bold__

`code`

~~Strikethrough~~

Subscript~example~
Superscript^example^
[link](http://google.com)

[link][google]
[google]: http://google.com

<http://google.com>

Blockquotes

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

Lists

* Item 1
* Item 2
  * sub item 1
  * sub item 2

- Item 1
- Item 2
  - sub item 1
  - sub item 2

- [ ] Checkbox off
- [x] Checkbox on

1. Item 1
2. Item 2

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

Horizontal line

----

****

© 2024 by Ryan Rickgauer