Skip to content

Commit 3b68999

Browse files
committed
docs(site): fix copy css cdn id
1 parent c46f28d commit 3b68999

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ <h3>JavaScript</h3>
111111
</div>
112112
<p>Or via CDN</p>
113113
<div class="copy-code">
114-
<syntax-highlight language="html" id="copy-usage-cdn">&lt;script type="module" src="https://unpkg.com/syntax-highlight-element@latest/dist/syntax-highlight-element.js"&gt;&lt;/script&gt;</syntax-highlight>
115-
<clipboard-copy for="copy-usage-cdn" class="button">Copy</clipboard-copy>
114+
<syntax-highlight language="html" id="copy-usage-cdn-js">&lt;script type="module" src="https://unpkg.com/syntax-highlight-element@latest/dist/syntax-highlight-element.js"&gt;&lt;/script&gt;</syntax-highlight>
115+
<clipboard-copy for="copy-usage-cdn-js" class="button">Copy</clipboard-copy>
116116
</div>
117117
<h3>HTML</h3>
118118
<div class="copy-code">
@@ -125,8 +125,8 @@ <h3>CSS</h3>
125125
<p>Make sure to load a theme e.g. <code>syntax-highlight-element/themes/prettylights.css</code>.</p>
126126
<p>Or via CDN</p>
127127
<div class="copy-code">
128-
<syntax-highlight language="html" id="copy-usage-cdn">&lt;link rel="stylesheet" href="https://unpkg.com/syntax-highlight-element@latest/dist/themes/prettylights.css"&gt;</syntax-highlight>
129-
<clipboard-copy for="copy-usage-cdn" class="button">Copy</clipboard-copy>
128+
<syntax-highlight language="html" id="copy-usage-cdn-css">&lt;link rel="stylesheet" href="https://unpkg.com/syntax-highlight-element@latest/dist/themes/prettylights.css"&gt;</syntax-highlight>
129+
<clipboard-copy for="copy-usage-cdn-css" class="button">Copy</clipboard-copy>
130130
</div>
131131
</article>
132132
</section>

0 commit comments

Comments
 (0)