Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

code highlighting website

<!-- hightlight.js is a great library for this -->

<!-- Import -->
<link rel="stylesheet" href="/path/to/styles/default.css">
<script src="/path/to/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

<!-- Usage -->
<pre><code class="language-html">...</code></pre>
Source by highlightjs.org #
 
PREVIOUS NEXT
Tagged: #code #highlighting #website
ADD COMMENT
Topic
Name
5+3 =