Skip to content

Commit

Permalink
JSONP Highlight: Fixed examples (#1877)
Browse files Browse the repository at this point in the history
This fixes an example on the JSONP Highlight page.
  • Loading branch information
RunDevelopment authored May 12, 2019
1 parent acceb3b commit f8ae465
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/jsonp-highlight/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ <h1>Examples</h1>
<p>Bitbucket API:</p>
<pre class="lang-css" data-jsonp="https://bitbucket.org/!api/1.0/repositories/nauzilus/stylish/src/master/whirlpool/style.css"></pre>

<p>Custom adapter (JSON.stringify showing GitHub <a href="https://status.github.com/api/status.json">status</a>):</p>
<pre class="lang-javascript" data-jsonp="https://status.github.com/api/status.json" data-adapter="dump_json"></pre>
<p>Custom adapter (JSON.stringify showing the GitHub REST API for <a href="https://api.github.com/repos/PrismJS/prism">Prism's repository</a>):</p>
<pre class="lang-javascript" data-jsonp="https://api.github.com/repos/PrismJS/prism" data-adapter="dump_json"></pre>

<p>Registered adapter (as above, but without explicitly declaring the <code>data-adapter</code> attribute):</p>
<pre class="lang-javascript" data-jsonp="https://status.github.com/api/status.json"></pre>
<pre class="lang-javascript" data-jsonp="https://api.github.com/repos/PrismJS/prism"></pre>
</section>

<footer data-src="templates/footer.html" data-type="text/html"></footer>
Expand Down

0 comments on commit f8ae465

Please sign in to comment.