From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz to help maximum readability and "publishability" of both its input and output forms. The language takes many cues from existing conventions for marking up plain text in email. Markdown converts its marked-up text input to valid, well-formed XHTML and replaces left-pointing angle brackets ('<') and ampersands with their corresponding character entity references. Markdown was originally implemented in Perl by Gruber, but has since been re-implemented by others in a variety of programming languages. It is distributed under a BSD-style license and is included with, or available as a plugin for, several content-management systems[1][2].


Syntax examples

This is not an exhaustive listing of Markdown's syntax, and in many cases multiple styles of syntax are available to accomplish a particular effect. See the full Markdown syntax for more information. Characters which are ordinarily interpreted by Markdown as formatting commands will instead be interpreted literally if preceded by a backslash; for example, the sequence '\*' would output an asterisk rather than beginning a span of emphasized text. Markdown also does not transform any text within a "raw" block-level XHTML element; thus it is possible to include sections of XHTML within a Markdown source document by wrapping them in block-level XHTML tags.


A paragraph is one or more consecutive lines of text separated by one or more blank lines. Normal paragraphs should not be indented with spaces or tabs:

This is a paragraph. It has two sentences.

This is another paragraph. It also has two sentences.

Line return

Line breaks inserted in the text are removed from the final result: the web browser is in charge of breaking the lines depending of the available space. To force a line break, insert two spaces at the end of the line.

Emphasized text

*emphasis* (e.g., italics)
**strong emphasis** (e.g., boldface)




* An item in a bulleted (unordered) list
* Another item in a bulleted list
· An item in an enumerated (ordered) list
· Another item in an enumerated list


HTML headings are produced by placing a number of hashes before the header text corresponding to the level of heading desired (HTML offers six levels of headings), like so:

# First-level heading
#### Fourth-level heading

The first two heading levels also have an alternate syntax:

First-level heading
Second-level heading


> This text will be enclosed in an HTML blockquote element.


[link text here]( "link title here")


![Alt text here](Image URL here "Image title here")

Horizontal rules

Horizontal rules are created by placing three or more hyphens, asterisks, or underscores on a line by themselves. You may use spaces between the hyphens or asterisks. Each of the following lines will produce a horizontal rule:

* * *
- - -

See also


  1. "MarsEdit 2.3 ties the knot with Tumblr support - Ars Technica". Retrieved 2009-08-11. 
  2. "Review: Practical Django Projects - Ars Technica". Retrieved 2009-08-11. 

External links

es:Markdown fr:Markdown ko:Markdown pl:Markdown pt:Markdown ru:Markdown

Personal tools

Served in 1.215 secs.