diff --git a/docs/_includes/examples/basics.html b/docs/_includes/examples/basics.html
index b2030739..5cd1ca19 100644
--- a/docs/_includes/examples/basics.html
+++ b/docs/_includes/examples/basics.html
@@ -22,19 +22,19 @@
-
-
-
Alabama
...
Wyoming
-
+{% endhighlight %}
Multiple select boxes
@@ -48,18 +48,17 @@ $(document).ready(function() {
-
-
-
Alabama
...
Wyoming
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/data.html b/docs/_includes/examples/data.html
index 42e3acbd..4b55a760 100644
--- a/docs/_includes/examples/data.html
+++ b/docs/_includes/examples/data.html
@@ -26,9 +26,8 @@
-
-
-
duplicate
-
+{% endhighlight %}
Loading remote data
@@ -67,7 +67,11 @@ $(".js-example-data-array-selected").select2({
that should be displayed.
-
+{% highlight html linenos %}
+
+ select2/select2
+
+{% endhighlight %}
You can configure how Select2 searches for remote data using the
@@ -76,15 +80,7 @@ $(".js-example-data-array-selected").select2({
options documentation for ajax
.
-
-
-
- Select2 will pass any options in the ajax
object to
- jQuery's $.ajax
function, or the transport
- function you specify.
-
-
-
-
-
+{% endhighlight %}
+
+ Select2 will pass any options in the ajax
object to
+ jQuery's $.ajax
function, or the transport
+ function you specify.
+
diff --git a/docs/_includes/examples/disabled-results.html b/docs/_includes/examples/disabled-results.html
index d8926384..b695a3b6 100644
--- a/docs/_includes/examples/disabled-results.html
+++ b/docs/_includes/examples/disabled-results.html
@@ -19,14 +19,11 @@
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/hide-search.html b/docs/_includes/examples/hide-search.html
index 8984bab3..0203c1a7 100644
--- a/docs/_includes/examples/hide-search.html
+++ b/docs/_includes/examples/hide-search.html
@@ -14,12 +14,9 @@
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/localization-rtl-diacritics.html b/docs/_includes/examples/localization-rtl-diacritics.html
index 8ced4b83..8b881586 100644
--- a/docs/_includes/examples/localization-rtl-diacritics.html
+++ b/docs/_includes/examples/localization-rtl-diacritics.html
@@ -1,5 +1,4 @@
-
@@ -26,13 +25,11 @@
-
-
-
+{% endhighlight %}
RTL support
@@ -48,13 +45,11 @@ $(".js-example-language").select2({
-
-
-
+{% endhighlight %}
Diacritics support
@@ -81,10 +76,7 @@ $(".js-example-rtl").select2({
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/matcher.html b/docs/_includes/examples/matcher.html
index 28ce285a..fbdcf1f2 100644
--- a/docs/_includes/examples/matcher.html
+++ b/docs/_includes/examples/matcher.html
@@ -1,5 +1,4 @@
-
Customizing how results are matched
@@ -22,9 +21,7 @@
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/multiple-max.html b/docs/_includes/examples/multiple-max.html
index 84fc16f3..6ec0056e 100644
--- a/docs/_includes/examples/multiple-max.html
+++ b/docs/_includes/examples/multiple-max.html
@@ -1,5 +1,4 @@
-
Limiting the number of selections
@@ -17,12 +16,9 @@
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/placeholders.html b/docs/_includes/examples/placeholders.html
index 992ddec2..1b6afda9 100644
--- a/docs/_includes/examples/placeholders.html
+++ b/docs/_includes/examples/placeholders.html
@@ -1,5 +1,4 @@
-
Placeholders
diff --git a/docs/_includes/examples/programmatic-control.html b/docs/_includes/examples/programmatic-control.html
index cf904f40..375eaa42 100644
--- a/docs/_includes/examples/programmatic-control.html
+++ b/docs/_includes/examples/programmatic-control.html
@@ -1,5 +1,4 @@
-
diff --git a/docs/_includes/examples/tags.html b/docs/_includes/examples/tags.html
index db36060b..69733a38 100644
--- a/docs/_includes/examples/tags.html
+++ b/docs/_includes/examples/tags.html
@@ -1,5 +1,4 @@
-
@@ -22,12 +21,9 @@
-
-
-
-
+{% endhighlight %}
diff --git a/docs/_includes/examples/themes-templating-responsive-design.html b/docs/_includes/examples/themes-templating-responsive-design.html
index 645d4ff1..15537f74 100644
--- a/docs/_includes/examples/themes-templating-responsive-design.html
+++ b/docs/_includes/examples/themes-templating-responsive-design.html
@@ -27,9 +27,7 @@
-
-
-
+{% endhighlight %}
Templating
@@ -61,9 +59,7 @@ $(".js-example-theme-multiple").select2({
-
-
-
+{% endhighlight %}
Responsive design - Percent width
@@ -94,7 +90,10 @@ $(".js-example-templating").select2({
-
+{% highlight html linenos %}
+
+
+{% endhighlight %}
Select2 will do its best to resolve the percent width specified via a
@@ -102,10 +101,4 @@ $(".js-example-templating").select2({
Select2 is using a percent based width is to inline the
style
declaration into the tag.
-
-
-
diff --git a/docs/_includes/examples/tokenizer.html b/docs/_includes/examples/tokenizer.html
index f10b74e3..6fa04ca6 100644
--- a/docs/_includes/examples/tokenizer.html
+++ b/docs/_includes/examples/tokenizer.html
@@ -1,5 +1,4 @@
-
Automatic tokenization
@@ -24,13 +23,10 @@
-
-
-
-
+{% endhighlight %}