diff options
author | Gulliver <gulliver@fargonauten.de> | 2014-10-09 00:45:00 +0200 |
---|---|---|
committer | Gulliver <gulliver@fargonauten.de> | 2014-10-09 00:45:00 +0200 |
commit | 7da937e2aea109e42b5ce9d6c9fe2e4e9ec877fc (patch) | |
tree | 975a69c0533623790733074a42fb3a9bb7577bd9 /oldtests/Code | |
parent | 1703abe7a21f5014ce00f04bd95d2aa4e1ba81c0 (diff) | |
parent | c69bfce61eeec398be46eb914f6280fe471b293f (diff) |
Merge branch 'master' into cmake-build
* master: (75 commits)
Remove duplicate `footer`
Correct capitalization of JavaScript
Added link to commonmark.org on web page.
Added cases from #51 to spec.
Added test case from issue #147.
Removed uthash license. We no longer use this library.
Removed bstrlib license. We no longer use this library.
Removed oldtests.
Cleaned up entity section of spec.
Adjusted tests for new js parser.
stmd.js: Fixed entityToChar, adding fromCodePoint polyfill.
Reset label_nest_level before parsing reference.
Removed spurious 'and', reflowed.
Removed spurious 'and', reflowed.
Further emph fallback optimizations.
Some jshint fixes.
Use simpler algorithm.
Revert "Use integers instead of strings for tags."
Revert "Use numerical constants."
Use numerical constants.
...
Diffstat (limited to 'oldtests/Code')
-rw-r--r-- | oldtests/Code/BlankLines.html | 33 | ||||
-rw-r--r-- | oldtests/Code/BlankLines.markdown | 28 | ||||
-rw-r--r-- | oldtests/Code/BlankLinesAtEnd.html | 14 | ||||
-rw-r--r-- | oldtests/Code/BlankLinesAtEnd.markdown | 14 | ||||
-rw-r--r-- | oldtests/Code/FenceMatching.html | 8 | ||||
-rw-r--r-- | oldtests/Code/FenceMatching.markdown | 10 | ||||
-rw-r--r-- | oldtests/Code/FencedCodeBlocks.html | 24 | ||||
-rw-r--r-- | oldtests/Code/FencedCodeBlocks.markdown | 35 | ||||
-rw-r--r-- | oldtests/Code/IndentedCodeBlocks.html | 22 | ||||
-rw-r--r-- | oldtests/Code/IndentedCodeBlocks.markdown | 22 | ||||
-rw-r--r-- | oldtests/Code/IndentedFences.html | 20 | ||||
-rw-r--r-- | oldtests/Code/IndentedFences.markdown | 26 | ||||
-rw-r--r-- | oldtests/Code/IndentedInLists.html | 22 | ||||
-rw-r--r-- | oldtests/Code/IndentedInLists.markdown | 17 | ||||
-rw-r--r-- | oldtests/Code/Inline.html | 13 | ||||
-rw-r--r-- | oldtests/Code/Inline.markdown | 13 | ||||
-rw-r--r-- | oldtests/Code/ListBreakAfter.html | 30 | ||||
-rw-r--r-- | oldtests/Code/ListBreakAfter.markdown | 26 | ||||
-rw-r--r-- | oldtests/Code/WhiteLines.html | 7 | ||||
-rw-r--r-- | oldtests/Code/WhiteLines.markdown | 9 |
20 files changed, 0 insertions, 393 deletions
diff --git a/oldtests/Code/BlankLines.html b/oldtests/Code/BlankLines.html deleted file mode 100644 index ae0abf7..0000000 --- a/oldtests/Code/BlankLines.html +++ /dev/null @@ -1,33 +0,0 @@ -<pre><code>foo - - - -bar -</code></pre> -<blockquote> -<pre><code>foo - - - -bar -</code></pre> -</blockquote> -<pre><code>foo - - - -bar -</code></pre> -<ol> -<li><p>One</p> -<pre><code>CodeA - -CodeB -</code></pre></li> -<li><p>Two</p> -<pre><code>CodeA -</code></pre></li> -</ol> -<ol> -<li>One</li> -</ol> diff --git a/oldtests/Code/BlankLines.markdown b/oldtests/Code/BlankLines.markdown deleted file mode 100644 index b0d5a0c..0000000 --- a/oldtests/Code/BlankLines.markdown +++ /dev/null @@ -1,28 +0,0 @@ - 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 deleted file mode 100644 index ac803d9..0000000 --- a/oldtests/Code/BlankLinesAtEnd.html +++ /dev/null @@ -1,14 +0,0 @@ -<ul> -<li><p>List</p> -<pre><code>code -</code></pre></li> -</ul> -<ul> -<li>one</li> -<li>two</li> -</ul> -<ul> -<li><p>one -not code</p></li> -<li><p>two</p></li> -</ul> diff --git a/oldtests/Code/BlankLinesAtEnd.markdown b/oldtests/Code/BlankLinesAtEnd.markdown deleted file mode 100644 index 55879ae..0000000 --- a/oldtests/Code/BlankLinesAtEnd.markdown +++ /dev/null @@ -1,14 +0,0 @@ -* List - - code - - - * one - * two - - - -* one - not code - -* two diff --git a/oldtests/Code/FenceMatching.html b/oldtests/Code/FenceMatching.html deleted file mode 100644 index 4c7468e..0000000 --- a/oldtests/Code/FenceMatching.html +++ /dev/null @@ -1,8 +0,0 @@ -<pre class="abc"><code>``` -</code></pre> -<pre class="blah"><code> -````` - -```` - -</code></pre> diff --git a/oldtests/Code/FenceMatching.markdown b/oldtests/Code/FenceMatching.markdown deleted file mode 100644 index d86169a..0000000 --- a/oldtests/Code/FenceMatching.markdown +++ /dev/null @@ -1,10 +0,0 @@ -````abc -``` -```` -``````blah - -````` - -```` - -``````````` diff --git a/oldtests/Code/FencedCodeBlocks.html b/oldtests/Code/FencedCodeBlocks.html deleted file mode 100644 index 4813d72..0000000 --- a/oldtests/Code/FencedCodeBlocks.html +++ /dev/null @@ -1,24 +0,0 @@ -<p>This is a fenced code block:</p> -<pre class="haskell"><code>pairs :: [(Int,Char)] -pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] -</code></pre> -<p>Here is one with tildes:</p> -<pre class="haskell"><code>pairs :: [(Int,Char)] -pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] -</code></pre> -<p>More metadata:</p> -<pre class="haskell"><code>pairs :: [(Int,Char)] -pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] -</code></pre> -<p>More backticks:</p> -<pre class="haskell"><code>pairs :: [(Int,Char)] -pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] - -backticks :: String -backticks = "`````" -</code></pre> -<p>Without an end:</p> -<pre><code>code with -no end - -</code></pre> diff --git a/oldtests/Code/FencedCodeBlocks.markdown b/oldtests/Code/FencedCodeBlocks.markdown deleted file mode 100644 index 6ccc6be..0000000 --- a/oldtests/Code/FencedCodeBlocks.markdown +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 0b9b7e7..0000000 --- a/oldtests/Code/IndentedCodeBlocks.html +++ /dev/null @@ -1,22 +0,0 @@ -<p>Indented code with two space indent in first and last line:</p> -<pre><code> two spaces *hello* -{ more } - - and -</code></pre> -<p>Indented code requires a leading/trailing blank line: -quick-command --option "$*"</p> -<p>Indented code does not require a trailing blank line:</p> -<pre><code>code -</code></pre> -<p>and not code.</p> -<p>Code in blockquote:</p> -<blockquote> -<pre><code>code -</code></pre> -</blockquote> -<p>Code in list:</p> -<ol> -<li><pre><code>code -</code></pre></li> -</ol> diff --git a/oldtests/Code/IndentedCodeBlocks.markdown b/oldtests/Code/IndentedCodeBlocks.markdown deleted file mode 100644 index 2a99db0..0000000 --- a/oldtests/Code/IndentedCodeBlocks.markdown +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 66e76da..0000000 --- a/oldtests/Code/IndentedFences.html +++ /dev/null @@ -1,20 +0,0 @@ -<pre><code>a -</code></pre> -<pre><code>z -</code></pre> -<pre><code>a -a -a - a -</code></pre> -<ul> -<li><p>foo</p> -<pre><code> Hello - -World -</code></pre></li> -</ul> -<blockquote> -<pre><code>a -</code></pre> -</blockquote> diff --git a/oldtests/Code/IndentedFences.markdown b/oldtests/Code/IndentedFences.markdown deleted file mode 100644 index 098545f..0000000 --- a/oldtests/Code/IndentedFences.markdown +++ /dev/null @@ -1,26 +0,0 @@ - ``` - a - ``` - - ``` -z -``` - - ``` -a - a - a - a - ``` - -* foo - - ``` - Hello - - World - ``` - -> ``` ->a ->``` diff --git a/oldtests/Code/IndentedInLists.html b/oldtests/Code/IndentedInLists.html deleted file mode 100644 index 76ed424..0000000 --- a/oldtests/Code/IndentedInLists.html +++ /dev/null @@ -1,22 +0,0 @@ -<ul> -<li><pre><code>code starts here -</code></pre></li> -</ul> -<ol> -<li><p>foo</p> -<pre><code>code starts here -</code></pre></li> -<li><p>foo</p> -<pre><code>code starts here -</code></pre></li> -</ol> -<ul> -<li><p>foo</p> -<pre><code>code starts here -</code></pre> -<ul> -<li><p>foo</p> -<pre><code>code starts here -</code></pre></li> -</ul></li> -</ul> diff --git a/oldtests/Code/IndentedInLists.markdown b/oldtests/Code/IndentedInLists.markdown deleted file mode 100644 index 54e1af1..0000000 --- a/oldtests/Code/IndentedInLists.markdown +++ /dev/null @@ -1,17 +0,0 @@ -- 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 deleted file mode 100644 index 9c52790..0000000 --- a/oldtests/Code/Inline.html +++ /dev/null @@ -1,13 +0,0 @@ -<p>All of these are equivalent:</p> -<ul> -<li><code>*hi*</code></li> -<li><code>*hi*</code></li> -<li><code>*hi*</code></li> -<li><code>*hi*</code></li> -<li><code>*hi*</code></li> -</ul> -<p>Backticks in code spans:</p> -<ul> -<li><code>``code``</code></li> -<li><code>``code``</code></li> -</ul> diff --git a/oldtests/Code/Inline.markdown b/oldtests/Code/Inline.markdown deleted file mode 100644 index 38e5b0c..0000000 --- a/oldtests/Code/Inline.markdown +++ /dev/null @@ -1,13 +0,0 @@ -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 deleted file mode 100644 index 29d6d5e..0000000 --- a/oldtests/Code/ListBreakAfter.html +++ /dev/null @@ -1,30 +0,0 @@ -<ul> -<li><p>foo</p> -<ul> -<li><p>bar</p> -<pre><code>code1 -code2 -</code></pre> -<p>code?</p></li> -</ul></li> -<li><p>foo</p> -<ul> -<li><p>bar</p> -<pre><code>code1 -code2 -</code></pre></li> -</ul></li> -</ul> -<pre><code>code? -</code></pre> -<ul> -<li>foo -<ul> -<li><p>bar</p> -<pre><code>code1 -code2 -</code></pre></li> -</ul></li> -</ul> -<pre><code>code? -</code></pre> diff --git a/oldtests/Code/ListBreakAfter.markdown b/oldtests/Code/ListBreakAfter.markdown deleted file mode 100644 index 4fa79f1..0000000 --- a/oldtests/Code/ListBreakAfter.markdown +++ /dev/null @@ -1,26 +0,0 @@ -* 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 deleted file mode 100644 index 7fa137f..0000000 --- a/oldtests/Code/WhiteLines.html +++ /dev/null @@ -1,7 +0,0 @@ -<pre><code>ABC - - - -DEF -</code></pre> -<p>GHI</p> diff --git a/oldtests/Code/WhiteLines.markdown b/oldtests/Code/WhiteLines.markdown deleted file mode 100644 index ea17af7..0000000 --- a/oldtests/Code/WhiteLines.markdown +++ /dev/null @@ -1,9 +0,0 @@ - ABC - - - - DEF - - - -GHI |