` or `` tags instead of Markdown's
link or image syntax, go right ahead.
-Unlike block-level HTML tags, Markdown syntax *is* processed within
span-level tags.
@@ -141,7 +114,6 @@
forget, and is probably the single most common source of HTML validation
errors in otherwise well-marked-up web sites.
-Markdown allows you to use these characters naturally, taking care of
all the necessary escaping for you. If you use an ampersand as part of
an HTML entity, it remains unchanged; otherwise it will be translated
into `&`.
@@ -150,27 +122,20 @@
©
-and Markdown will leave it alone. But if you write:
AT&T
-Markdown will translate it to:
AT&T
-Similarly, because Markdown supports [inline HTML](#html), if you use
-angle brackets as delimiters for HTML tags, Markdown will treat them as
such. But if you write:
4 < 5
-Markdown will translate it to:
4 < 5
-However, inside Markdown code spans and blocks, angle brackets and
ampersands are *always* encoded automatically. This makes it easy to use
-Markdown to write about HTML code. (As opposed to raw HTML, which is a
terrible format for writing about HTML syntax, because every single `<`
and `&` in your example code needs to be escaped.)
@@ -189,17 +154,13 @@
blank.) Normal paragraphs should not be indented with spaces or tabs.
The implication of the "one or more consecutive lines of text" rule is
-that Markdown supports "hard-wrapped" text paragraphs. This differs
significantly from most other text-to-HTML formatters (including Movable
Type's "Convert Line Breaks" option) which translate every line break
character in a paragraph into a `
` tag.
-When you *do* want to insert a `
` break tag using Markdown, you
end a line with two or more spaces, then type return.
Yes, this takes a tad more effort to create a `
`, but a simplistic
-"every line break is a `
`" rule wouldn't work for Markdown.
-Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l]
work best -- and look better -- when you format them with hard breaks.
[bq]: #blockquote
@@ -209,7 +170,6 @@
-Markdown supports two styles of headers, [Setext] [1] and [atx] [2].
Setext-style headers are "underlined" using equal signs (for first-level
headers) and dashes (for second-level headers). For example:
@@ -246,9 +206,7 @@
Blockquotes
-Markdown uses email-style `>` characters for blockquoting. If you're
familiar with quoting passages of text in an email message, then you
-know how to create a blockquote in Markdown. It looks best if you hard
wrap the text and put a `>` before every line:
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
@@ -258,7 +216,6 @@
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
> id sem consectetuer libero luctus adipiscing.
-Markdown allows you to be lazy and only put the `>` before the first
line of a hard-wrapped paragraph:
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
@@ -277,7 +234,6 @@
>
> Back to the first level.
-Blockquotes can contain other Markdown elements, including headers, lists,
and code blocks:
> ## This is a header.
@@ -296,7 +252,6 @@
Lists
-Markdown supports ordered (numbered) and unordered (bulleted) lists.
Unordered lists use asterisks, pluses, and hyphens -- interchangably
-- as list markers:
@@ -324,8 +279,6 @@
3. Parish
It's important to note that the actual numbers you use to mark the
-list have no effect on the HTML output Markdown produces. The HTML
-Markdown produces from the above list is:
- Bird
@@ -333,7 +286,6 @@
- Parish
-If you instead wrote the list in Markdown like this:
1. Bird
1. McHale
@@ -346,12 +298,10 @@
8. Parish
you'd get the exact same HTML output. The point is, if you want to,
-you can use ordinal numbers in your ordered Markdown lists, so that
the numbers in your source match the numbers in your published HTML.
But if you want to be lazy, you don't have to.
If you do use lazy list numbering, however, you should still start the
-list with the number 1. At some point in the future, Markdown may support
starting ordered lists at an arbitrary number.
List markers typically start at the left margin, but may be indented by
@@ -374,7 +324,6 @@
* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
-If list items are separated by blank lines, Markdown will wrap the
items in `` tags in the HTML output. For example, this input:
* Bird
@@ -415,7 +364,6 @@
2. Suspendisse id sem consectetuer libero luctus adipiscing.
It looks nice if you indent every line of the subsequent
-paragraphs, but here again, Markdown will allow you to be
lazy:
* This is a list item with two paragraphs.
@@ -458,10 +406,8 @@
Pre-formatted code blocks are used for writing about programming or
markup source code. Rather than forming normal paragraphs, the lines
-of a code block are interpreted literally. Markdown wraps a code block
in both `
` and `` tags.
-To produce a code block in Markdown, simply indent every line of the
block by at least 4 spaces or 1 tab. For example, given this input:
This is a normal paragraph:
@@ -468,7 +414,6 @@
This is a code block.
-Markdown will generate:
This is a normal paragraph:
@@ -498,8 +443,6 @@
Within a code block, ampersands (`&`) and angle brackets (`<` and `>`)
are automatically converted into HTML entities. This makes it very
-easy to include example HTML source code using Markdown -- just paste
-it and indent it, and Markdown will handle the hassle of encoding the
ampersands and angle brackets. For example, this: