Skip to content

Instantly share code, notes, and snippets.

@motine
Forked from Myndex/GitHubFlavoredMarkdown.md
Last active April 10, 2024 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save motine/b67547c9205797734215bfcb564743ab to your computer and use it in GitHub Desktop.
Save motine/b67547c9205797734215bfcb564743ab to your computer and use it in GitHub Desktop.
GitHub Flavored Markdown Cheat Sheet

Markdown Short Intro

Headers

H1

H2

H3

H4

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

Emphasis

Emphasis, aka italics, with *asterisks* or _underscores_.

Strong emphasis, aka bold, with **asterisks** or __underscores__.

Combined emphasis with **asterisks and _underscores_**.

Strikethrough uses one tilde ~Scratch This~ or two tildes. ~~Scratch this.~~ 

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses one tilde Scratch This or two tildes. Scratch this.


Lists

1. First ordered list item
2. Another item
    * Unordered sub-list, lead with 4 spaces
1. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list, lead with 4 spaces
1. And another item.

Unordered list:

- This is a list
- Back to the future
  1. First ordered list item
  2. Another item
    • Unordered sub-list, lead with 4 spaces
  3. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list, lead with 4 spaces
  4. And another item.

Unordered list:

  • This is a list
  • Back to the future

Links

[Super Page](https://www.letsrefund.de/)

Super Page

Images

![don't forget to do alt text](https://avatars.githubusercontent.com/u/42009457?s=40&v=4 "Logo Title Hover Text")

don't forget to do alt text

Tables

| foo | bar |
| --- | --- |
| baz | bim |
foo bar
baz bim

Blockquotes

> This is one less quote level

Quote break.

> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote. 

This is one less quote level

Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

Horizontal Rule

---

Line Breaks

Here are some things to try out:

Here's a line for us to start with.

This line is separated from the one above by two newlines, so it will be a *separate paragraph*.

This line is also begins a separate paragraph, but,
despite having a single newline, it just gets wrapped together.

This line ends with four white spaces before hitting return.    
So the next line becomes a single new line

Here's a line for us to start with.

This line is separated from the one above by two newlines, so it will be a separate paragraph.

This line is also begins a separate paragraph, but, despite having a single newline, it just gets wrapped together.

This line ends with four white spaces before hitting return.
So the next line becomes a single new line

More

This is it for the very short into, but there is more. Please check out this page for a comprehensive guide.

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