Prettify <pre> on homepage.
This commit is contained in:
parent
8a1a35aa15
commit
25ba1ef1f3
@ -19,4 +19,11 @@
|
||||
|
||||
{% include ga.html %}
|
||||
</body>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
prettyPrint();
|
||||
})();
|
||||
</script>
|
||||
</html>
|
||||
|
@ -64,7 +64,7 @@ slug: home
|
||||
Include the following lines of code in the <code><head></code>
|
||||
section of your HTML.
|
||||
|
||||
<pre class="code">
|
||||
<pre class="code prettyprint">
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/js/select2.min.js"></script>
|
||||
</pre>
|
||||
@ -79,7 +79,7 @@ slug: home
|
||||
Initialize Select2 on the <code><select></code> element that you
|
||||
want to make awesome.
|
||||
|
||||
<pre class="code">
|
||||
<pre class="code prettyprint">
|
||||
<script type="text/javascript">
|
||||
$('select').select2();
|
||||
</script>
|
||||
@ -111,7 +111,7 @@ slug: home
|
||||
Include the following lines of code in the <code><head></code>
|
||||
section of your HTML.
|
||||
|
||||
<pre class="code">
|
||||
<pre class="code prettyprint">
|
||||
<link href="path/to/select2.min.css" rel="stylesheet" />
|
||||
<script src="path/to/select2.min.js"></script>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user