Markdown Cheatsheet

Markdown Cheatsheet


Headings size

Heading 1

Markup :  # Heading 1

Heading 2

Markup :  ## Heading 2

Heading 3

Markup :  ### Heading 3

Heading 4

Markup :  #### Heading 4
Heading 5
Markup :  ##### Heading 5
Heading 6
Markup :  ###### Heading 6

Text formatting

Common text

Markup :  Common text

Emphasized text

Markup :  _Emphasized text_ or *Emphasized text*

Strikethrough text

Markup :  ~~Strikethrough text~~

Strong text

Markup :  __Strong text__ or **Strong text**

Strong emphasized text

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

Lists

  • Bullet list
    • Nested bullet
      • Sub-nested bullet etc
  • Bullet list item 2
 Markup : * Bullet list
              * Nested bullet
                  * Sub-nested bullet etc
          * Bullet list item 2

– unordered list
– unordered list

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

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

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

Image with alt :

picture alt

Markup : ![picture alt](thethaw_header.jpg "Title is optional")

Table formatting

Table, like this one :

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell

Code and quotes

Parellel views: right click + New View for Notebook

blockquote
many lines

Nested blockquote

Markup :  > Blockquote
          >> Nested Blockquote

Type some inline code

Markup :  `code()`
code blocks between 3 backticks
    var specificLanguage_code = 
    {
        "data": {
            "lookedUpPlatform": 1,
            "query": "Kasabian+Test+Transmission",
            "lookedUpItem": {
                "name": "Test Transmission",
                "artist": "Kasabian",
                "album": "Kasabian",
                "picture": null,
                "link": "http://open.spotify.com/track/5jhJur5n4fasblLSCOcrTp"
            }
        }
    }
Markup : ```javascript
         ```

Line

Horizontal line :


Markup : --- or - - - (latter under title)

Foldable text

Markup : <details>
           <summary>Title 1</summary>
           <p>Content 1 Content 1 Content 1 Content 1 Content 1</p>
         </details>

Keys and shortcuts

⌘F

⇧⌘F

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

Markup : Code appears between colons :EMOJICODE:

Math

Some math $\int x^2 dx$

$\int x^2 dx$