|
@@ -61,8 +61,10 @@ slug: home
|
|
|
|
|
|
<ol>
|
|
|
<li>
|
|
|
- Include the following lines of code in the <code><head></code>
|
|
|
- section of your HTML.
|
|
|
+ <p>
|
|
|
+ Include the following lines of code in the <code><head></code>
|
|
|
+ section of your HTML.
|
|
|
+ </p>
|
|
|
|
|
|
<pre class="code prettyprint">
|
|
|
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/css/select2.min.css" rel="stylesheet" />
|
|
@@ -76,8 +78,10 @@ slug: home
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
- Initialize Select2 on the <code><select></code> element that you
|
|
|
- want to make awesome.
|
|
|
+ <p>
|
|
|
+ Initialize Select2 on the <code><select></code> element that you
|
|
|
+ want to make awesome.
|
|
|
+ </p>
|
|
|
|
|
|
<pre class="code prettyprint">
|
|
|
<script type="text/javascript">
|
|
@@ -102,14 +106,18 @@ slug: home
|
|
|
|
|
|
<ol>
|
|
|
<li>
|
|
|
- <a href="https://github.com/select2/select2/tags">
|
|
|
- Download the code
|
|
|
- </a>
|
|
|
- from GitHub and copy the <code>dist</code> directory to your project.
|
|
|
+ <p>
|
|
|
+ <a href="https://github.com/select2/select2/tags">
|
|
|
+ Download the code
|
|
|
+ </a>
|
|
|
+ from GitHub and copy the <code>dist</code> directory to your project.
|
|
|
+ </p>
|
|
|
</li>
|
|
|
<li>
|
|
|
- Include the following lines of code in the <code><head></code>
|
|
|
- section of your HTML.
|
|
|
+ <p>
|
|
|
+ Include the following lines of code in the <code><head></code>
|
|
|
+ section of your HTML.
|
|
|
+ </p>
|
|
|
|
|
|
<pre class="code prettyprint">
|
|
|
<link href="path/to/select2.min.css" rel="stylesheet" />
|