-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
309 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p><a href="http://en.wikipedia.org/wiki/Tourism_in_Germany">http://en.wikipedia.org/wiki/Tourism_in_Germany</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
http://en.wikipedia.org/wiki/Tourism_in_Germany |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<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[^1] jumped over the lazy dog[^2].</p> | ||
|
||
<h3 id="syntaxhighlighting">Syntax Highlighting</h3> | ||
|
||
<pre><code>```language-javascript | ||
[...] | ||
``` | ||
</code></pre> | ||
|
||
<p>Combined with <a href="http://prismjs.com/">Prism.js</a> in the Ghost theme:</p> | ||
|
||
<pre><code class="language-javascript language-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; | ||
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="html 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-1">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><a href="http://en.wikipedia.org/wiki/Tourism_in_Germany">http://en.wikipedia.org/wiki/Tourism_in_Germany</a></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 _foo_bar baz_bar_ baz_foo</code></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> | ||
|
||
<p><a href="http://myurl.com/foo_bar_baz_bar_foo">http://myurl.com/foo_bar_baz_bar_foo</a></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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_ . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.