Skip to content

Latest commit

 

History

History
216 lines (137 loc) · 2.99 KB

_cheatsheet.md

File metadata and controls

216 lines (137 loc) · 2.99 KB

Cheatsheet for markdown syntax

  1. Headers
  2. Emphasis
  3. Lists
  4. Horizontal rules
  5. Links
  6. Images
  7. Youtube videos

1. Headers

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

H1

H2

H3

H4

H5
H6

2. Emphasis

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

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

Combined emphasis with **asterisks and _underscores_**.

Strikethrough uses 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 two tildes. Scratch this.

3. Lists

Ordered lists

1. First item
2. Second item
3. Third item
4. ...

  1. First item
  2. Second item
  3. Third item
  4. ...

Unordered lists

* for unordered lists
* you can use
*  asterisks
- or minuses
+ or pluses
+ but if you mix them, the line space will be different
  • for unordered lists
  • you can use
  • asterisks
  • or minuses
  • or pluses
  • but if you mix them, the line space will be different

Sub-lists

1. You could have
    1. ordered sub-lists
        1. in different levels
2. Same thing
    - for unordered  
        - sub-lists

- Doesn't matter if the main list is
    1. ordered or unordered
    2. you could mix them
        - in any level
- You could also align some text with
    - other items    
        without list-style
  1. You could have
    1. ordered sub-lists
      1. in different levels
  2. Same thing
    • for unordered
      • sub-lists
  • Doesn't matter if the main list is
    1. ordered or unordered
    2. you could mix them
      • in any level
  • You could also align some text with
    • other items
      without list-style

4. Horizontal rules

You could add horizontal rules with three or more

----

dashes


***

asterisks


====

equals sign

====

____

underscores


5. Links

URLs and URLs in angle brackets will automatically get turned into links as in <www.mozilla.org/en-US/firefox/>

URLs and URLs in angle brackets will automatically get turned into links
as in <www.mozilla.org/en-US/firefox/>

You could also paste the link in a new line without angle brackets:

https://www.mozilla.org/en-US/firefox/

https://www.mozilla.org/en-US/firefox/

Or you could use inline-style link:

[Firefox](https://www.mozilla.org/en-US/firefox/)

Firefox

6. Images

![alt text](https://github.com/inessadl/readme/blob/master/img/ff_logo2013.png)

alt text

7. Youtube videos

They can't be added directly but you can add an image with a link to the video like this:

image alt text