From 030d94e1c3cd4be0ab9d7c16fccfa973cedb5d38 Mon Sep 17 00:00:00 2001
From: fiddlosopher
Code in a block quote:
sub status { - print "working"; + print "working"; }A list:
@@ -60,7 +60,7 @@ here.@@ -84,7 +84,7 @@ here.Example:
sub status { - print "working"; + print "working"; }---- (should be four hyphens) sub status { - print "working"; + print "working"; } this code block is indented by one tab @@ -92,7 +92,7 @@ this code block is indented by one tabAnd:
this code block is indented by two tabs -These should not be escaped: \$ \\ \> \[ \{ +These should not be escaped: \$ \\ \> \[ \{
Lists
@@ -255,12 +255,12 @@ These should not be escaped: \$ \\ \> \[ \{fooThis should be a code block, though:
-<div> +<div> foo -</div> +</div>As should this:
-<div>foo</div> +<div>foo</div>Now, nested:
@@ -281,12 +281,12 @@ Blah This is another comment. -->Code block:
-<!-- Comment --> +<!-- Comment -->Just plain comment, with trailing spaces on the line:
Code:
-<hr /> +<hr />Hr's:
@@ -315,14 +315,14 @@ BlahSo is this word.
This is strong and em.
So is this word.
-This is code:
+>,$,\,\$,<html>.This is code:
>,$,\,\$,<html>.
Smart quotes, ellipses, dashes
-"Hello," said the spider. "'Shelob' is my name."
+"Hello," said the spider. "'Shelob' is my name."
'A', 'B', and 'C' are letters.
'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
-'He said, "I want to go."' Were you alive in the 70's?
-Here is some quoted '
+code' and a "quoted link".'He said, "I want to go."' Were you alive in the 70's?
+Here is some quoted '
code' and a "quoted link".Some dashes: one---two --- three--four -- five.
Dashes between numbers: 5-7, 255-66, 1987-1999.
Ellipses...and. . .and . . . .
@@ -342,7 +342,7 @@ BlahThese shouldn't be math:
- To get the famous equation, write
-$e = mc^2$.- $22,000 is a lot of money. So is $34,000. (It worked if "lot" is emphasized.)
+- $22,000 is a lot of money. So is $34,000. (It worked if "lot" is emphasized.)
- Escaped
$: $73 this should be emphasized 23$.Here's a LaTeX table:
@@ -355,11 +355,11 @@ Cat & 1 \\ \hlineSpecial Characters
Here is some unicode:
-
- I hat: Î
-- o umlaut: ö
-- section: §
-- set membership: ∈
-- copyright: ©
+- I hat: Î
+- o umlaut: ö
+- section: §
+- set membership: ∈
+- copyright: ©
AT&T has an ampersand in their name.
AT&T is another way to write it.
@@ -414,7 +414,7 @@ document.write(''+'Email link'+'<\/'+'a'+'>')Foo biz.
With ampersands
Here's a link with an ampersand in the URL.
-Here's a link with an amersand in the link text: AT&T.
+Here's a link with an amersand in the link text: AT&T.
Here's an inline link.
Here's an inline link in pointy braces.
Autolinks
@@ -433,12 +433,12 @@ document.write(''+e+'<\/'+'a'+'>');-Blockquoted: http://example.com/
Auto-links should not occur here:
-<http://example.com/>or here: <http://example.com/> +Auto-links should not occur here:
+<http://example.com/>or here: <http://example.com/>
Images
-From "Voyage dans la Lune" by Georges Melies (1902):
+From "Voyage dans la Lune" by Georges Melies (1902):
Here is a movie
icon.
@@ -458,7 +458,7 @@ document.write(''+e+'<\/'+'a'+'>'); ↩-- cgit v1.2.3 Here's the long note. This one contains multiple blocks.
Subsequent blocks are indented to show that they belong to the footnote (as with list items).
-{ <code> } +{ <code> }If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.
↩