Merge ErinDS broken stuff tests

This commit is contained in:
Hannah Wolfe 2015-07-14 09:55:00 +01:00 committed by Estevão Soares dos Santos
parent 62ba3733cd
commit 220b85d722
4 changed files with 235 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<h3 id="automaticlinks">Automatic Links</h3>
<pre><code>https://ghost.org
</code></pre>
<p><a href="https://ghost.org">https://ghost.org</a></p>
<h3 id="markdownfootnotes">Markdown Footnotes</h3>
<pre><code>The quick brown fox[^1] jumped over the lazy dog[^2].
[^1]: Foxes are red
[^2]: Dogs are usually not red
</code></pre>
<p>The quick brown fox<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> jumped over the lazy dog<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup>.</p>
<h3 id="syntaxhighlighting">Syntax Highlighting</h3>
<pre><code>https://ghost.orglanguage-javascript
</code></pre>
<p>// # Notifications API
// RESTful API for creating notifications
var Promise = require('bluebird'), <br />
_ = require('lodash'),
canThis = require('../permissions').canThis,
errors = require('../errors'),
utils = require('./utils'),</p>
<pre><code>// Holds the persistent notifications
notificationsStore = [],
// Holds the last used id
notificationCounter = 0,
notifications;
</code></pre>
<p>```</p>

View File

@ -0,0 +1,43 @@
### Automatic Links
```
https://ghost.org
```
https://ghost.org
### Markdown Footnotes
```
The quick brown fox[^1] jumped over the lazy dog[^2].
[^1]: Foxes are red
[^2]: Dogs are usually not red
```
The quick brown fox[^1] jumped over the lazy dog[^2].
### Syntax Highlighting
```language-javascript
[...]
```
Combined with [Prism.js](http://prismjs.com/) in the Ghost theme:
```language-javascript
// # Notifications API
// RESTful API for creating notifications
var Promise = require('bluebird'),
_ = require('lodash'),
canThis = require('../permissions').canThis,
errors = require('../errors'),
utils = require('./utils'),
// Holds the persistent notifications
notificationsStore = [],
// Holds the last used id
notificationCounter = 0,
notifications;
```

View File

@ -0,0 +1,78 @@
<p>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</p>
<p><em>baz_bar_foo</em></p>
<p><strong>baz_bar_foo</strong></p>
<p><strong><em>baz_bar_foo</em></strong></p>
<p>baz bar foo <em>baz_bar_foo foo bar baz</em> and foo</p>
<p>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</p>
<p><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></p>
<pre><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
</code></pre>
<pre><code class="language-html">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
</code></pre>
<pre>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</pre>
<pre><code class="language-html">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></pre>
<pre class="lang-html"><code class="language-html">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></pre>
<script>
var strike = "foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo";
var foo_bar_baz_bar_foo = "foo_bar_";
</script>
<p><a href="http://myurl.com/foo_bar_baz_bar_foo">foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</a></p>
<p><a href="http://myurl.com/foo_bar_baz_bar_foo" title="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo">foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</a></p>
<p><img src="http://myurl.com/foo_bar_baz_bar_foo" alt="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo"></p>
<h2 id="foo_bar_bazfoo_bar_baz_bar_foo_foo_barbaz_bar_baz_foo">foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</h2>
<h3 id="foo_bar_bazfoo_bar_baz_bar_foo_foo_barbaz_bar_baz_foo">foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</h3>
<ol>
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
</ol>
<blockquote>
<p>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</p>
</blockquote>
<ul>
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
</ul>
<hr />
<p>http://en.wikipedia.org/wiki/Tourism_in_Germany</p>
<p><a href="http://en.wikipedia.org/wiki/Tourism_in_Germany">an example</a></p>
<p>Another <a href="http://en.wikipedia.org/wiki/Tourism_in_Germany">example</a> of a link</p>
<p><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></p>
<!-- These two cases still have bad <ems> because showdown handles them incorrectly -->
<p><code>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</code></p>
<p><img src="http://myurl.com/foo_bar_baz_bar_foo" alt="foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo" title="" /></p>
<p>http://myurl.com/foo_bar_baz_bar_foo</p>
<p><a href="http://myurl.com/foo_bar_baz_bar_foo">http://myurl.com/foo_bar_baz_bar_foo</a></p>
<p><em>italics</em>.</p>
<p><em>italics</em> .</p>

View File

@ -0,0 +1,76 @@
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
_baz_bar_foo_
__baz_bar_foo__
___baz_bar_foo___
baz bar foo _baz_bar_foo foo bar baz_ and foo
foo\_bar\_baz foo\_bar\_baz\_bar\_foo \_foo\_bar baz\_bar\_ baz\_foo
`foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo`
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
```html
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
```
<pre>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</pre>
<pre><code class="language-html">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></pre>
<pre class="lang-html"><code class="language-html">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></pre>
<script>
var strike = "foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo";
var foo_bar_baz_bar_foo = "foo_bar_";
</script>
[foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo](http://myurl.com/foo_bar_baz_bar_foo)
<a href="http://myurl.com/foo_bar_baz_bar_foo" title="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo">foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</a>
<img src="http://myurl.com/foo_bar_baz_bar_foo" alt="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo">
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
-----
### foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
1. foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
2. foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
> foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
* foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
* foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
-------
http://en.wikipedia.org/wiki/Tourism_in_Germany
[an example] [wiki]
Another [example][wiki] of a link
[wiki]: http://en.wikipedia.org/wiki/Tourism_in_Germany
<p><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></p>
<!-- These two cases still have bad <ems> because showdown handles them incorrectly -->
<code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code>
![foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo](http://myurl.com/foo_bar_baz_bar_foo)
http://myurl.com/foo_bar_baz_bar_foo
<http://myurl.com/foo_bar_baz_bar_foo>
_italics_.
_italics_ .