Skip to content

Instantly share code, notes, and snippets.

@icodejs
Created August 22, 2012 18:10
Show Gist options
  • Save icodejs/3428049 to your computer and use it in GitHub Desktop.
Save icodejs/3428049 to your computer and use it in GitHub Desktop.

Revisions

  1. icodejs created this gist Aug 22, 2012.
    82 changes: 82 additions & 0 deletions markdownCheatSheet.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,82 @@
    # Markdown Cheat Sheet

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

    *This text will be italic*

    _This will also be italic_

    **This text will be bold**

    __This will also be bold__


    * Item 1
    * Item 2
    * Item 2a
    * Item 2b

    1. Item 1
    2. Item 2
    3. Item 3
    * Item 3a
    * Item 3b



    Image Format: ![google logo](https://www.google.co.in/images/srpr/logo3w.png)

    Link [Chiragchamoli](http://Chiragchamoli.com)

    Quote

    > Journey of a thousand miles
    > begins with. Just one step

    Text with
    two trailing spaces
    (on the right)
    can be used
    for things like poems

    ### Horizontal rules

    * * * *
    ****
    --------------------------


    <div class="custom-class" markdown="1">
    This is a div wrapping some Markdown plus. Without the DIV attribute, it ignores the
    block.
    </div>

    ## Markdown plus tables ##

    | Header | Header | Right |
    | ------ | ------ | -----: |
    | Cell | Cell | $10 |
    | Cell | Cell | $20 |

    * Outer pipes on tables are optional
    * Colon used for alignment (right versus left)

    ## Markdown plus definition lists ##

    Bottled water
    : $ 1.25
    : $ 1.55 (Large)

    Milk
    Pop
    : $ 1.75

    * Multiple definitions and terms are possible
    * Definitions can include multiple paragraphs too

    *[ABBR]: Markdown plus abbreviations (produces an <abbr> tag)