From 870e63be7360b5a0097a27656048e853bc720464 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 21 Jul 2014 22:29:16 -0700 Subject: Initial commit --- oldtests/Code/BlankLines.html | 33 +++++++++++++++++++++++++++++ oldtests/Code/BlankLines.markdown | 28 +++++++++++++++++++++++++ oldtests/Code/BlankLinesAtEnd.html | 14 +++++++++++++ oldtests/Code/BlankLinesAtEnd.markdown | 14 +++++++++++++ oldtests/Code/FenceMatching.html | 8 +++++++ oldtests/Code/FenceMatching.markdown | 10 +++++++++ oldtests/Code/FencedCodeBlocks.html | 24 +++++++++++++++++++++ oldtests/Code/FencedCodeBlocks.markdown | 35 +++++++++++++++++++++++++++++++ oldtests/Code/IndentedCodeBlocks.html | 22 +++++++++++++++++++ oldtests/Code/IndentedCodeBlocks.markdown | 22 +++++++++++++++++++ oldtests/Code/IndentedFences.html | 20 ++++++++++++++++++ oldtests/Code/IndentedFences.markdown | 26 +++++++++++++++++++++++ oldtests/Code/IndentedInLists.html | 22 +++++++++++++++++++ oldtests/Code/IndentedInLists.markdown | 17 +++++++++++++++ oldtests/Code/Inline.html | 13 ++++++++++++ oldtests/Code/Inline.markdown | 13 ++++++++++++ oldtests/Code/ListBreakAfter.html | 30 ++++++++++++++++++++++++++ oldtests/Code/ListBreakAfter.markdown | 26 +++++++++++++++++++++++ oldtests/Code/WhiteLines.html | 7 +++++++ oldtests/Code/WhiteLines.markdown | 9 ++++++++ 20 files changed, 393 insertions(+) create mode 100644 oldtests/Code/BlankLines.html create mode 100644 oldtests/Code/BlankLines.markdown create mode 100644 oldtests/Code/BlankLinesAtEnd.html create mode 100644 oldtests/Code/BlankLinesAtEnd.markdown create mode 100644 oldtests/Code/FenceMatching.html create mode 100644 oldtests/Code/FenceMatching.markdown create mode 100644 oldtests/Code/FencedCodeBlocks.html create mode 100644 oldtests/Code/FencedCodeBlocks.markdown create mode 100644 oldtests/Code/IndentedCodeBlocks.html create mode 100644 oldtests/Code/IndentedCodeBlocks.markdown create mode 100644 oldtests/Code/IndentedFences.html create mode 100644 oldtests/Code/IndentedFences.markdown create mode 100644 oldtests/Code/IndentedInLists.html create mode 100644 oldtests/Code/IndentedInLists.markdown create mode 100644 oldtests/Code/Inline.html create mode 100644 oldtests/Code/Inline.markdown create mode 100644 oldtests/Code/ListBreakAfter.html create mode 100644 oldtests/Code/ListBreakAfter.markdown create mode 100644 oldtests/Code/WhiteLines.html create mode 100644 oldtests/Code/WhiteLines.markdown (limited to 'oldtests/Code') diff --git a/oldtests/Code/BlankLines.html b/oldtests/Code/BlankLines.html new file mode 100644 index 0000000..ae0abf7 --- /dev/null +++ b/oldtests/Code/BlankLines.html @@ -0,0 +1,33 @@ +
foo
+
+
+
+bar
+
+
+
foo
+
+
+
+bar
+
+
+
foo
+
+    
+
+bar
+
+
    +
  1. One

    +
    CodeA
    +
    +CodeB
    +
  2. +
  3. Two

    +
    CodeA
    +
  4. +
+
    +
  1. One
  2. +
diff --git a/oldtests/Code/BlankLines.markdown b/oldtests/Code/BlankLines.markdown new file mode 100644 index 0000000..b0d5a0c --- /dev/null +++ b/oldtests/Code/BlankLines.markdown @@ -0,0 +1,28 @@ + foo + + + + bar +> foo +> +> +> +> bar + foo + + + + bar + +1. One + + CodeA + + CodeB + +2. Two + + CodeA + + +1. One diff --git a/oldtests/Code/BlankLinesAtEnd.html b/oldtests/Code/BlankLinesAtEnd.html new file mode 100644 index 0000000..ac803d9 --- /dev/null +++ b/oldtests/Code/BlankLinesAtEnd.html @@ -0,0 +1,14 @@ + + + diff --git a/oldtests/Code/BlankLinesAtEnd.markdown b/oldtests/Code/BlankLinesAtEnd.markdown new file mode 100644 index 0000000..55879ae --- /dev/null +++ b/oldtests/Code/BlankLinesAtEnd.markdown @@ -0,0 +1,14 @@ +* List + + code + + + * one + * two + + + +* one + not code + +* two diff --git a/oldtests/Code/FenceMatching.html b/oldtests/Code/FenceMatching.html new file mode 100644 index 0000000..4c7468e --- /dev/null +++ b/oldtests/Code/FenceMatching.html @@ -0,0 +1,8 @@ +
```
+
+

+`````
+
+````
+
+
diff --git a/oldtests/Code/FenceMatching.markdown b/oldtests/Code/FenceMatching.markdown new file mode 100644 index 0000000..d86169a --- /dev/null +++ b/oldtests/Code/FenceMatching.markdown @@ -0,0 +1,10 @@ +````abc +``` +```` +``````blah + +````` + +```` + +``````````` diff --git a/oldtests/Code/FencedCodeBlocks.html b/oldtests/Code/FencedCodeBlocks.html new file mode 100644 index 0000000..4813d72 --- /dev/null +++ b/oldtests/Code/FencedCodeBlocks.html @@ -0,0 +1,24 @@ +

This is a fenced code block:

+
pairs :: [(Int,Char)]
+pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
+
+

Here is one with tildes:

+
pairs :: [(Int,Char)]
+pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
+
+

More metadata:

+
pairs :: [(Int,Char)]
+pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
+
+

More backticks:

+
pairs :: [(Int,Char)]
+pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']]
+
+backticks :: String
+backticks = "`````"
+
+

Without an end:

+
code with
+no end
+
+
diff --git a/oldtests/Code/FencedCodeBlocks.markdown b/oldtests/Code/FencedCodeBlocks.markdown new file mode 100644 index 0000000..6ccc6be --- /dev/null +++ b/oldtests/Code/FencedCodeBlocks.markdown @@ -0,0 +1,35 @@ +This is a fenced code block: +```haskell +pairs :: [(Int,Char)] +pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] +``` +Here is one with tildes: + +~~~ haskell +pairs :: [(Int,Char)] +pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] +~~~ + +More metadata: + +```haskell numberLines start=50 +pairs :: [(Int,Char)] +pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] +``` + +More backticks: + +```````` haskell +pairs :: [(Int,Char)] +pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] + +backticks :: String +backticks = "`````" +````````````` + +Without an end: + +``` +code with +no end + diff --git a/oldtests/Code/IndentedCodeBlocks.html b/oldtests/Code/IndentedCodeBlocks.html new file mode 100644 index 0000000..0b9b7e7 --- /dev/null +++ b/oldtests/Code/IndentedCodeBlocks.html @@ -0,0 +1,22 @@ +

Indented code with two space indent in first and last line:

+
  two spaces *hello*
+{ more }
+
+  and
+
+

Indented code requires a leading/trailing blank line: +quick-command --option "$*"

+

Indented code does not require a trailing blank line:

+
code
+
+

and not code.

+

Code in blockquote:

+
+
code
+
+
+

Code in list:

+
    +
  1. code
    +
  2. +
diff --git a/oldtests/Code/IndentedCodeBlocks.markdown b/oldtests/Code/IndentedCodeBlocks.markdown new file mode 100644 index 0000000..2a99db0 --- /dev/null +++ b/oldtests/Code/IndentedCodeBlocks.markdown @@ -0,0 +1,22 @@ +Indented code with two space indent in first and last line: + + two spaces *hello* + { more } + + and + +Indented code requires a leading/trailing blank line: + quick-command --option "$*" + +Indented code does not require a trailing blank line: + + code +and not code. + +Code in blockquote: + +> code + +Code in list: + +1. code diff --git a/oldtests/Code/IndentedFences.html b/oldtests/Code/IndentedFences.html new file mode 100644 index 0000000..66e76da --- /dev/null +++ b/oldtests/Code/IndentedFences.html @@ -0,0 +1,20 @@ +
a
+
+
z
+
+
a
+a
+a
+ a
+
+ +
+
a
+
+
diff --git a/oldtests/Code/IndentedFences.markdown b/oldtests/Code/IndentedFences.markdown new file mode 100644 index 0000000..098545f --- /dev/null +++ b/oldtests/Code/IndentedFences.markdown @@ -0,0 +1,26 @@ + ``` + a + ``` + + ``` +z +``` + + ``` +a + a + a + a + ``` + +* foo + + ``` + Hello + + World + ``` + +> ``` +>a +>``` diff --git a/oldtests/Code/IndentedInLists.html b/oldtests/Code/IndentedInLists.html new file mode 100644 index 0000000..76ed424 --- /dev/null +++ b/oldtests/Code/IndentedInLists.html @@ -0,0 +1,22 @@ + +
    +
  1. foo

    +
    code starts here
    +
  2. +
  3. foo

    +
    code starts here
    +
  4. +
+ diff --git a/oldtests/Code/IndentedInLists.markdown b/oldtests/Code/IndentedInLists.markdown new file mode 100644 index 0000000..54e1af1 --- /dev/null +++ b/oldtests/Code/IndentedInLists.markdown @@ -0,0 +1,17 @@ +- code starts here + +1. foo + + code starts here + +2. foo + + code starts here + +- foo + + code starts here + + - foo + + code starts here diff --git a/oldtests/Code/Inline.html b/oldtests/Code/Inline.html new file mode 100644 index 0000000..9c52790 --- /dev/null +++ b/oldtests/Code/Inline.html @@ -0,0 +1,13 @@ +

All of these are equivalent:

+ +

Backticks in code spans:

+ diff --git a/oldtests/Code/Inline.markdown b/oldtests/Code/Inline.markdown new file mode 100644 index 0000000..38e5b0c --- /dev/null +++ b/oldtests/Code/Inline.markdown @@ -0,0 +1,13 @@ +All of these are equivalent: + +- `*hi*` +- ` *hi* ` +- ``*hi* `` +- ````*hi*```` +- `*hi* + ` + +Backticks in code spans: + +- ``` ``code`` ``` +- ` ``code`` ` diff --git a/oldtests/Code/ListBreakAfter.html b/oldtests/Code/ListBreakAfter.html new file mode 100644 index 0000000..29d6d5e --- /dev/null +++ b/oldtests/Code/ListBreakAfter.html @@ -0,0 +1,30 @@ + +
code?
+
+ +
code?
+
diff --git a/oldtests/Code/ListBreakAfter.markdown b/oldtests/Code/ListBreakAfter.markdown new file mode 100644 index 0000000..4fa79f1 --- /dev/null +++ b/oldtests/Code/ListBreakAfter.markdown @@ -0,0 +1,26 @@ +* foo + * bar + + code1 + code2 + + code? + +* foo + * bar + + code1 + code2 + + + code? + +* foo + * bar + + code1 + code2 + + + + code? diff --git a/oldtests/Code/WhiteLines.html b/oldtests/Code/WhiteLines.html new file mode 100644 index 0000000..7fa137f --- /dev/null +++ b/oldtests/Code/WhiteLines.html @@ -0,0 +1,7 @@ +
ABC
+  
+ 
+
+DEF
+
+

GHI

diff --git a/oldtests/Code/WhiteLines.markdown b/oldtests/Code/WhiteLines.markdown new file mode 100644 index 0000000..ea17af7 --- /dev/null +++ b/oldtests/Code/WhiteLines.markdown @@ -0,0 +1,9 @@ + ABC + + + + DEF + + + +GHI -- cgit v1.2.3