mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
<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> |