Skip to content

Instantly share code, notes, and snippets.

@lieldulev
Created June 1, 2012 03:48

Revisions

  1. Liel Dulev created this gist Jun 1, 2012.
    98 changes: 98 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,98 @@
    # Markdown Syntax

    * * * * * * * * *

    Is _easy_ to *learn* and __simple__ to **implement**

    Leave empty line for a new paragraph.

    Consecutive lines
    of text will continue by default, and they will be wrapped
    for you so you don't need to worry about it (unlike
    code). If you want to force a line break
    just finish a line with *double* space
    and you will have a
    _n_*e*_w_
    line in the same paragraph

    ****************************************************

    ##Lists

    ###Bullets
    - A List
    + Indented
    * All three markers are bullets
    and can have multiple lines

    ###Numbers

    1. Numbered list start with a digit followed by period.
    6. Numbers (before period) are not important
    4. You can
    4. Repeat the
    4. Same number

    - - -

    ## Code

    ### Inline
    To write `code` inline use `

    ### Blocks

    # just use 4 spaces
    # and don't forget
    code()
    {
    identation++
    }

    be_careful_of_very_long_lines_they_might_break_github_since_it_wont_break_them_for_you I am serius. You need to break them yourself

    -----------------------------

    ## Links

    This is [an example](http://example.com/ "Title").

    [This link](http://example.net/) has no title attribute.

    This is [an example](#id) for in document link.

    You can define links in advance and give them names.

    [id]: http://example.com/ "Optional Title Here"

    And then use [them][id].

    Or just use simple "automatic" links: <http://example.com/>

    _ _ _

    ## Inline HTML

    <table cellspacing=0 width=400>
    <tr>
    <td>This is an</td>
    <td style="background-color:pink">HTML TABLE</td>
    </tr>

    <tr style="background-color:lightgrey">
    <td>with inline</td>
    <td>css (yuck!)</td>
    </tr>
    </table>

    This is another regular paragraph.

    ________________

    ## Images

    Simple syntax:

    ![Alt text](http://www.google.com/images/srpr/logo3w.png)

    And ou can use **all the tricks** from links ;)