Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wcoder/highlightjs-line-numbers.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: wcoder/highlightjs-line-numbers.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gh-pages
Choose a head ref

There isn’t anything to compare.

master and gh-pages are entirely different commit histories.

Showing with 5 additions and 5 deletions.
  1. +5 −5 index.html
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@
<![endif]-->


<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/highlightjs-line-numbers.js@2.6.0/dist/highlightjs-line-numbers.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/highlightjs-line-numbers.js@2.8.0/dist/highlightjs-line-numbers.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
hljs.highlightAll();
hljs.initLineNumbersOnLoad();
</script>
<style>
@@ -80,7 +80,7 @@ <h2>Install</h2>
<pre><code class="bash">npm install highlightjs-line-numbers.js</code></pre>

<p>Getting the library from CDN</p>
<pre><code>&lt;script src=&quot;https://cdn.jsdelivr.net/npm/highlightjs-line-numbers.js@2.6.0/dist/highlightjs-line-numbers.min.js&quot;&gt;&lt;/script&gt;</code></pre>
<pre><code>&lt;script src=&quot;https://cdn.jsdelivr.net/npm/highlightjs-line-numbers.js/dist/highlightjs-line-numbers.min.js&quot;&gt;&lt;/script&gt;</code></pre>

<p><a href="https://github.com/wcoder/highlightjs-line-numbers.js#usage">How to use?</a></p>