Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace my.cdn in code sample with example.com #2906

Merged
merged 3 commits into from
May 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,17 @@ <h2 id="basic-usage-cdn">Usage with CDNs</h2>
&lt;html>
&lt;head>
...</code>
<code class="highlight">&lt;link href="https://my.cdn/[email protected]/themes/prism.css" rel="stylesheet" /></code>
<code class="highlight">&lt;link href="https://{{cdn}}/[email protected]/themes/prism.css" rel="stylesheet" /></code>
<code>&lt;/head>
&lt;body>
...</code>
<code class="highlight" style="display: inline-block; outline-offset: .2em; margin-bottom: .2em;"> &lt;script src="https://my.cdn/[email protected]/components/prism-core.min.js"&gt;&lt;/script&gt;
&lt;script src="https://my.cdn/[email protected]/plugins/autoloader/prism-autoloader.min.js"&gt;&lt;/script&gt;</code>
<code class="highlight" style="display: inline-block; outline-offset: .2em; margin-bottom: .2em;"> &lt;script src="https://{{cdn}}/[email protected]/components/prism-core.min.js"&gt;&lt;/script&gt;
&lt;script src="https://{{cdn}}/[email protected]/plugins/autoloader/prism-autoloader.min.js"&gt;&lt;/script&gt;</code>
<code>&lt;/body>
&lt;/html></code></pre>

<p>Please note that links in the above code sample serve as placeholders. You have to replace them with valid links to the CDN of your choice.</p>

<p>CDNs which provide PrismJS are e.g. <a href="https://cdnjs.com/libraries/prism">cdnjs</a>, <a href="https://www.jsdelivr.com/package/npm/prismjs">jsDelivr</a>, and <a href="https://unpkg.com/browse/prismjs@1/">UNPKG</a>.</p>

<h2 id="basic-usage-bundlers">Usage with Webpack, Browserify, & Other Bundlers</h2>
Expand Down