Categories
HTML Programming

MarkDown Syntax Cheat Sheet for HTML

MarkDown Syntax Cheat Sheet

How easy it would be if you make out a doc file and converting the same with a tool to get the required website. This is where Markdown Syntax comes from.A tool that converts text file to HTML or(XHTML). In a search for easy-to-read, easy-to-write plain text format and converting it to a HTML file John Gruber created this tool. Its two important features are.

A. Plain text formatting syntax
B. Software tool, that converts the plain text formatting to HTML.

Plain text in MarkDown:

Header 1
====================
A Header 2
---------------------
Now is the time to break down
The quick brown fox jumped over the lazy dog's back.
### Header 3
> This is a blockquote.
> This is the second paragraph in the blockquote.
> ## This is an H2 in a blockquote

Output:

Header 1

Header 2

Now is the time to break down

The quick brown fox jumped over the lazydog's back.

Header 3

This is a blockquote.

This is the second paragraph in the blockquote.

This is an H2 in a blockquote

Work Through Syntax

A. Heading:

# h1
## h2
### h3
#### h4
##### h5
###### h6 ## opening hashes determine header level.

B. Blockquotes:

> Blockquote.
>
> >> Third paragraph in the blockquote, nested.
>
> ### This is an h3 in a blockquote.

C. Paragraphs:

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

A blank Line in between to start a new paragraph

D. Breaks:



End line with two spaces to break.

E. Image:

![Alt text](/files/expand_arrow.JPG "Image call example")

E. Tables:

This is [a testcase](http://testcase.com/ "Optional Title")

F. Phrase Emphasis:

**strong** or __strong__

For full syntax please visit http://daringļ¬reball.net/projects/markdown/syntax