Markdown Syntax Cheat Sheet

Same as Markdown Syntax Cheat Sheet Rendered but Showing Markup not HTML

Phrase Emphasis

*italic* - **bold**
_italic_ - __bold__

Tables

Header1 Header2
text1 text2
text3 text4

Links

Inline:

An [example](http://url.com/ "Title")
Reference-style labels (titles are optional):

An [example][id]. Then, anywhere
else in the doc, define the link:

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

Images

Inline (titles are optional):
![alt text](/path/img.jpg “Title”)

Reference-style: ![alt text][id]

[id]: /url/to/img.jpg "Title"

Headers

Setext-style:

Header 1
========

Header 2
--------

atx-style (closing #'s are optional):

# Header 1 #

## Header 2 ##

###### Header 6

Lists

Ordered, without paragraphs:

1.  Foo
1.  Bar

Unordered, with paragraphs:

*   A list item.

    With multiple paragraphs. 

*   Bar

You can nest them:

*   Abacus
   * asterisk
*   Bastion
    1.  bit
    1.  bull
        * BEE
    1. burnt
*   Culminate

Blockquotes

> Email-style angle brackets

> are used for blockquotes.

> > And, they can be nested.

> #### Headers in blockquotes
> 
> * You can quote a list.
> * Etc.

Code Spans

`<code>` spans are delimited
by backticks.

You can include literal backticks like `this`.

Preformatted Code Blocks

Indent every line of a code block by at least 4 spaces or 1 tab.

This is a normal paragraph.

    This is a preformatted
    code block.

Horizontal Rules

Three or more dashes or asterisks:

---

***

----

Manual Line Breaks

End a line with two or more spaces:

Roses are red,   
Violets are blue.

Courtesy of

Navigation:

Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment



Powered by WordPress
Copyright by Gary Paulson

Bad Behavior has blocked 587 access attempts in the last 7 days.