GitHub Markdown Cheatsheet

Heading 1

  1. Markup : # Heading 1 #
  2. -OR-
  3. Markup : ============= (below H1 text)

Heading 2

  1. Markup : ## Heading 2 ##
  2. -OR-
  3. Markup: --------------- (below H2 text)

Heading 3

  1. Markup : ### Heading 3 ###

Heading 4

  1. Markup : #### Heading 4 ####

Common text

  1. Markup : Common text

Emphasized text

  1. Markup : _Emphasized text_ or *Emphasized text*

Strikethrough text

  1. Markup : ~~Strikethrough text~~

Strong text

  1. Markup : __Strong text__ or **Strong text**

Strong emphasized text

  1. Markup : ___Strong emphasized text___ or ***Strong emphasized text***

Named Link and http://www.google.fr/ or http://example.com/

  1. Markup : [Named Link](http://www.google.fr/ "Named link title") and http://www.google.fr/ or <http://example.com/>

heading-1

  1. Markup: [heading-1](#heading-1 "Goto heading-1")

Table, like this one :

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
  1. First Header | Second Header
  2. ------------- | -------------
  3. Content Cell | Content Cell
  4. Content Cell | Content Cell

Adding a pipe | in a cell :

First Header Second Header
Content Cell Content Cell
Content Cell \
  1. First Header | Second Header
  2. ------------- | -------------
  3. Content Cell | Content Cell
  4. Content Cell | \|

Left, right and center aligned table

Left aligned Header | Right aligned Header | Center aligned Header | :—- | —-: | :—-: Content Cell | Content Cell | Content Cell Content Cell | Content Cell | Content Cell

  1. Left aligned Header | Right aligned Header | Center aligned Header
  2. | :--- | ---: | :---:
  3. Content Cell | Content Cell | Content Cell
  4. Content Cell | Content Cell | Content Cell

code()

  1. Markup : `code()`
  1. var specificLanguage_code =
  2. {
  3. "data": {
  4. "lookedUpPlatform": 1,
  5. "query": "Kasabian+Test+Transmission",
  6. "lookedUpItem": {
  7. "name": "Test Transmission",
  8. "artist": "Kasabian",
  9. "album": "Kasabian",
  10. "picture": null,
  11. "link": "http://open.spotify.com/track/5jhJur5n4fasblLSCOcrTp"
  12. }
  13. }
  14. }
  1. Markup : ```javascript
  2. ```

Unordered List

  • Bullet list
    • Nested bullet
      • Sub-nested bullet etc
  • Bullet list item 2
  1. Markup : * Bullet list
  2. * Nested bullet
  3. * Sub-nested bullet etc
  4. * Bullet list item 2
  5. -OR-
  6. Markup : - Bullet list
  7. - Nested bullet
  8. - Sub-nested bullet etc
  9. - Bullet list item 2

Ordered List

  1. A numbered list
    1. A nested numbered list
    2. Which is numbered
  2. Which is numbered
  1. Markup : 1. A numbered list
  2. 1. A nested numbered list
  3. 2. Which is numbered
  4. 2. Which is numbered
  • An uncompleted task
  • A completed task
  1. Markup : - [ ] An uncompleted task
  2. - [x] A completed task
  • An uncompleted task
    • A subtask
  1. Markup : - [ ] An uncompleted task
  2. - [ ] A subtask

Blockquote

Nested blockquote Markup : > Blockquote Nested Blockquote

Horizontal line :


  1. Markup : - - - -

Image with alt :

picture alt

  1. Markup : ![picture alt](http://via.placeholder.com/200x150 "Title is optional")

Foldable text:

Title 1

Content 1 Content 1 Content 1 Content 1 Content 1

Title 2

Content 2 Content 2 Content 2 Content 2 Content 2

  1. Markup : <details>
  2. <summary>Title 1</summary>
  3. <p>Content 1 Content 1 Content 1 Content 1 Content 1</p>
  4. </details>
  1. <h3>HTML</h3>
  2. <p> Some HTML code here </p>

Link to a specific part of the page:

Go To TOP

  1. Markup : [text goes here](#section_name)
  2. section_title<a name="section_name"></a>

Hotkey:

⌘F

⇧⌘F

  1. Markup : <kbd>F</kbd>

Hotkey list:

Key Symbol
Option
Control
Command
Shift
Caps Lock
Tab
Esc
Power
Return
Delete
Up
Down
Left
Right

Emoji:

:exclamation: Use emoji icons to enhance text. :+1: Look up emoji codes at emoji-cheat-sheet.com

  1. Markup : Code appears between colons :EMOJICODE: