Added Polymer

This commit is contained in:
Thaum
2014-11-26 10:18:35 +00:00
parent 5eea4714b2
commit 3408ba9e8d
1210 changed files with 394645 additions and 47 deletions

View File

@@ -0,0 +1,3 @@
<p>hello world
<a href="http://example.com">http://example.com</a>
</p>

View File

@@ -0,0 +1,2 @@
hello world
<http://example.com>

View File

@@ -0,0 +1,3 @@
<p>This fails in markdown.pl and upskirt:</p>
<ul><li>hello<blockquote><p>world</p></blockquote></li></ul>

View File

@@ -0,0 +1,4 @@
This fails in markdown.pl and upskirt:
* hello
> world

View File

@@ -0,0 +1 @@
<p><a href="/url">hi</a></p>

View File

@@ -0,0 +1,3 @@
[hi]
[HI]: /url

View File

@@ -0,0 +1,28 @@
<blockquote>
<p>hello
[1]: hello</p>
</blockquote>
<hr>
<blockquote>
<p>hello</p>
</blockquote>
<ul>
<li>hello</li>
<li>[3]: hello</li>
</ul>
<ul>
<li>hello</li>
</ul>
<blockquote>
<p>foo
bar
bar</p>
</blockquote>

View File

@@ -0,0 +1,21 @@
> hello
> [1]: hello
* * *
> hello
[2]: hello
* hello
* [3]: hello
* hello
[4]: hello
> foo
> bar
[1]: foo
> bar

View File

@@ -0,0 +1,5 @@
<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
<p>Already linked: <a href="http://example.com/"><strong>http://example.com/</strong></a>.</p>

View File

@@ -0,0 +1,5 @@
<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
Already linked: [http://example.com/](http://example.com/).
Already linked: <a href="http://example.com/">**http://example.com/**</a>.

View File

@@ -0,0 +1 @@
<p>></p>

View File

@@ -0,0 +1 @@
\>

View File

@@ -0,0 +1 @@
<p>Look at the<br>pretty line<br>breaks.</p>

View File

@@ -0,0 +1,3 @@
Look at the
pretty line
breaks.

View File

@@ -0,0 +1,5 @@
<pre><code class="lang-js">var a = &#39;hello&#39;;
console.log(a + &#39; world&#39;);</code></pre>
<pre><code class="lang-bash">echo &quot;hello, ${WORLD}&quot;</code></pre>
<pre><code class="lang-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre>
<pre><code class="lang-ManyTildes">A longfence!</code></pre>

View File

@@ -0,0 +1,16 @@
``` js
var a = 'hello';
console.log(a + ' world');
```
~~~bash
echo "hello, ${WORLD}"
~~~
```````longfence
Q: What do you call a tall person who sells stolen goods?
```````
~~~~~~~~~~ ManyTildes
A longfence!
~~~~~~~~~~

View File

@@ -0,0 +1,52 @@
<h2 id="foo">foo</h2>
<ol>
<li><p>bar:</p>
<blockquote>
<ul>
<li>one<ul>
<li>two<ul>
<li>three</li>
<li>four</li>
<li>five</li>
</ul>
</li>
</ul>
</li>
</ul>
</blockquote>
</li>
<li><p>foo:</p>
<pre><code> line 1
line 2</code></pre>
</li>
<li><p>foo:</p>
<ol>
<li><p>foo <code>bar</code> bar:</p>
<pre><code class="lang-erb"> some code here
</code></pre>
</li>
<li><p>foo <code>bar</code> bar:</p>
<pre><code class="lang-erb"> foo
---
bar
---
foo
bar</code></pre>
</li>
<li><p>foo <code>bar</code> bar:</p>
<pre><code class="lang-html"> ---
foo
foo
---
bar</code></pre>
</li>
<li><p>foo <code>bar</code> bar:</p>
<pre><code> foo
---
bar</code></pre>
</li>
<li><p>foo</p>
</li>
</ol>
</li>
</ol>

View File

@@ -0,0 +1,53 @@
## foo
1. bar:
> - one
- two
- three
- four
- five
1. foo:
```
line 1
line 2
```
1. foo:
1. foo `bar` bar:
``` erb
some code here
```
2. foo `bar` bar:
``` erb
foo
---
bar
---
foo
bar
```
3. foo `bar` bar:
``` html
---
foo
foo
---
bar
```
4. foo `bar` bar:
foo
---
bar
5. foo

View File

@@ -0,0 +1 @@
<p>hello <del>hi</del> world</p>

View File

@@ -0,0 +1 @@
hello ~~hi~~ world

View File

@@ -0,0 +1 @@
<p>These words should_not_be_emphasized.</p>

View File

@@ -0,0 +1 @@
These words should_not_be_emphasized.

View File

@@ -0,0 +1,2 @@
<p>This should be a link:
<a href="http://example.com/hello-world">http://example.com/hello-world</a>.</p>

View File

@@ -0,0 +1 @@
This should be a link: http://example.com/hello-world.

View File

@@ -0,0 +1,37 @@
<table>
<thead>
<tr><th>Heading 1</th><th>Heading 2</th></tr>
</thead>
<tbody>
<tr><td>Cell 1</td><td>Cell 2</td></tr>
<tr><td>Cell 3</td><td>Cell 4</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th style="text-align:center">Header 1</th><th style="text-align:right">Header 2</th><th style="text-align:left">Header 3</th><th>Header 4</th></tr>
</thead>
<tbody>
<tr><td style="text-align:center">Cell 1</td><td style="text-align:right">Cell 2</td><td style="text-align:left">Cell 3</td><td>Cell 4</td></tr>
<tr><td style="text-align:center">Cell 5</td><td style="text-align:right">Cell 6</td><td style="text-align:left">Cell 7</td><td>Cell 8</td></tr>
</tbody>
</table>
<pre><code>Test code</code></pre>
<table>
<thead>
<tr><th>Header 1</th><th>Header 2</th></tr>
</thead>
<tbody>
<tr><td>Cell 1</td><td>Cell 2</td></tr>
<tr><td>Cell 3</td><td>Cell 4</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th style="text-align:left">Header 1</th><th style="text-align:center">Header 2</th><th style="text-align:right">Header 3</th><th>Header 4</th></tr>
</thead>
<tbody>
<tr><td style="text-align:left">Cell 1</td><td style="text-align:center">Cell 2</td><td style="text-align:right">Cell 3</td><td>Cell 4</td></tr>
<tr><td style="text-align:left"><em>Cell 5</em></td><td style="text-align:center">Cell 6</td><td style="text-align:right">Cell 7</td><td>Cell 8</td></tr>
</tbody>
</table>

View File

@@ -0,0 +1,21 @@
| Heading 1 | Heading 2
| --------- | ---------
| Cell 1 | Cell 2
| Cell 3 | Cell 4
| Header 1 | Header 2 | Header 3 | Header 4 |
| :------: | -------: | :------- | -------- |
| Cell 1 | Cell 2 | Cell 3 | Cell 4 |
| Cell 5 | Cell 6 | Cell 7 | Cell 8 |
Test code
Header 1 | Header 2
-------- | --------
Cell 1 | Cell 2
Cell 3 | Cell 4
Header 1|Header 2|Header 3|Header 4
:-------|:------:|-------:|--------
Cell 1 |Cell 2 |Cell 3 |Cell 4
*Cell 5*|Cell 6 |Cell 7 |Cell 8

View File

@@ -0,0 +1,10 @@
<ul>
<li>hello
world</li>
<li>how
are</li>
</ul>
<hr>
<p>you today?</p>

View File

@@ -0,0 +1,6 @@
* hello
world
* how
are
* * *
you today?

View File

@@ -0,0 +1,4 @@
<blockquote>
<p>hi there
bud</p>
</blockquote>

View File

@@ -0,0 +1,2 @@
> hi there
bud

View File

@@ -0,0 +1 @@
<ul><li><p>item1</p> <ul><li>item2 </li></ul> <p>text</p> </li></ul>

View File

@@ -0,0 +1,5 @@
* item1
* item2
text

View File

@@ -0,0 +1,62 @@
<ul>
<li><p>hello
world </p>
<p>how
are</p></li>
<li>you </li>
</ul>
<p>better behavior:</p>
<ul><li><p>hello</p> <ul><li><p>world
how</p> <p>are
you</p></li><li><p>today</p></li></ul></li><li>hi</li></ul>
<ul>
<li><p>hello</p></li>
<li><p>world</p></li>
<li>hi</li>
</ul>
<ul>
<li>hello</li>
<li><p>world</p></li>
<li><p>hi</p></li>
</ul>
<ul>
<li>hello</li>
<li><p>world</p>
<p>how</p></li>
<li>hi</li>
</ul>
<ul>
<li>hello</li>
<li>world</li>
<li><p>how</p>
<p>are</p></li>
</ul>
<ul>
<li>hello</li>
<li><p>world</p></li>
<li><p>how</p>
<p>are</p></li>
</ul>

View File

@@ -0,0 +1,59 @@
* hello
world
how
are
* you
better behavior:
* hello
* world
how
are
you
* today
* hi
* hello
* world
* hi
* hello
* world
* hi
* hello
* world
how
* hi
* hello
* world
* how
are
* hello
* world
* how
are

View File

@@ -0,0 +1,4 @@
<h1 id="a-heading">A heading</h1> <p>Just a note, I&#39;ve found that I can&#39;t test my markdown parser vs others. For example, both markdown.js and showdown code blocks in lists wrong. They&#39;re also completely <a href="http://google.com/" title="Google">inconsistent</a> with regards to paragraphs in list items.</p> <p>A link. Not anymore.</p> <aside>This will make me fail the test because
markdown.js doesnt acknowledge arbitrary html blocks =/</aside> <ul><li><p>List Item 1</p></li><li><p>List Item 2 </p><ul><li>New List Item 1 Hi, this is a list item.</li><li>New List Item 2 Another item <pre><code>Code goes here.
Lots of it...</code></pre></li><li>New List Item 3 The last item</li></ul></li><li><p>List Item 3 The final item.</p></li><li><p>List Item 4 The real final item.</p></li></ul> <p>Paragraph.</p> <blockquote><ul><li>bq Item 1</li><li>bq Item 2 <ul><li>New bq Item 1</li><li>New bq Item 2 Text here</li></ul></li></ul></blockquote> <hr> <blockquote><p> Another blockquote! I really need to get more creative with mockup text.. markdown.js breaks here again</p></blockquote> <h2 id="another-heading">Another Heading</h2> <p>Hello <em>world</em>. Here is a <a href="//hello">link</a>. And an image <img src="src" alt="alt">.</p> <pre><code>Code goes here.
Lots of it...</code></pre>

View File

@@ -0,0 +1,55 @@
[test]: http://google.com/ "Google"
# A heading
Just a note, I've found that I can't test my markdown parser vs others.
For example, both markdown.js and showdown code blocks in lists wrong. They're
also completely [inconsistent][test] with regards to paragraphs in list items.
A link. Not anymore.
<aside>This will make me fail the test because
markdown.js doesnt acknowledge arbitrary html blocks =/</aside>
* List Item 1
* List Item 2
* New List Item 1
Hi, this is a list item.
* New List Item 2
Another item
Code goes here.
Lots of it...
* New List Item 3
The last item
* List Item 3
The final item.
* List Item 4
The real final item.
Paragraph.
> * bq Item 1
> * bq Item 2
> * New bq Item 1
> * New bq Item 2
> Text here
* * *
> Another blockquote!
> I really need to get
> more creative with
> mockup text..
> markdown.js breaks here again
Another Heading
-------------
Hello *world*. Here is a [link](//hello).
And an image ![alt](src).
Code goes here.
Lots of it...

View File

@@ -0,0 +1 @@
<p><code>hi ther `` ok ```</code></p>

View File

@@ -0,0 +1 @@
````` hi ther `` ok ``` `````

View File

@@ -0,0 +1,3 @@
<p><em>test <strong>test</strong> test</em></p>
<p><em>test <strong>test</strong> test</em></p>

View File

@@ -0,0 +1,3 @@
*test **test** test*
_test __test__ test_

View File

@@ -0,0 +1 @@
<p><a href="/url">the <code>]</code> character</a></p>

View File

@@ -0,0 +1 @@
[the `]` character](/url)

View File

@@ -0,0 +1 @@
<p>[test](not a link)</p>

View File

@@ -0,0 +1 @@
\[test](not a link)

View File

@@ -0,0 +1 @@
<p><a href="/url" title="there">hi</a></p>

View File

@@ -0,0 +1,3 @@
[hi]
[hi]: /url (there)

View File

@@ -0,0 +1,5 @@
<ul>
<li>test</li>
<li>test</li>
<li>test</li>
</ul>

View File

@@ -0,0 +1,3 @@
* test
+ test
- test

View File

@@ -0,0 +1,6 @@
<p>Hello world how “are” you — today…</p>
<p>“Its a more challenging smartypants test…”</p>
<p>And, as a bonus — “one
multiline” test!</p>

View File

@@ -0,0 +1,6 @@
Hello world 'how' "are" you -- today...
"It's a more 'challenging' smartypants test..."
'And,' as a bonus -- "one
multiline" test!

View File

@@ -0,0 +1,34 @@
<p>hello world
how are you
how are you</p>
<p>hello world</p>
<pre><code>how are you</code></pre>
<p>hello world</p>
<hr>
<p>hello world</p>
<h1 id="how-are-you">how are you</h1>
<p>hello world</p>
<h1 id="how-are-you">how are you</h1>
<p>hello world</p>
<blockquote><p>how are you</p></blockquote>
<p>hello world</p>
<ul><li>how are you</li></ul>
<p>hello world</p>
<div>how are you</div>
<p>hello world
<span>how are you</span></p>
<p>hello <a href="/are/you">world</a>
</p>
<div>hello</div>
<p><span>hello</span></p>

View File

@@ -0,0 +1,37 @@
hello world
how are you
how are you
hello world
```
how are you
```
hello world
* * *
hello world
# how are you
hello world
how are you
===========
hello world
> how are you
hello world
* how are you
hello world
<div>how are you</div>
hello world
<span>how are you</span>
hello [world][how]
[how]: /are/you
<div>hello</div>
<span>hello</span>

View File

@@ -0,0 +1,23 @@
<p><strong>hello</strong> <em>world</em></p>
<ul>
<li>hello world</li>
</ul>
<p><strong>hello</strong> <em>world</em></p>
<ul>
<li>hello world</li>
</ul>
<p><strong>hello</strong> <em>world</em></p>
<ul>
<li>Hello world</li>
</ul>
<p><strong>hello</strong> <em>world</em></p>
<ul>
<li>hello world</li>
</ul>

View File

@@ -0,0 +1,15 @@
**hello** _world_
* hello world
**hello** _world_
* hello world
**hello** _world_
* Hello world
**hello** _world_
* hello world