- {{ include.content }}
+{% if include.plain %}
+
+
+
+ {{ include.content }}
+
+
+
+ {% highlight html %}{{ include.content }}{% endhighlight %}
+
-
- {% highlight html %}{{ include.content }}{% endhighlight %}
+{% else %}
+
+
+ {{ include.content }}
+
+
+ {% highlight html %}{{ include.content }}{% endhighlight %}
+
-
+{% endif %}
diff --git a/docs/documentation/form/textarea.html b/docs/documentation/form/textarea.html
index 3998f39a..937af7fe 100644
--- a/docs/documentation/form/textarea.html
+++ b/docs/documentation/form/textarea.html
@@ -134,23 +134,7 @@ doc-subtab: textarea
-
-
The following modifiers are supported:
-
-
-
-
-
- {{textarea_example}}
-
-
- {% highlight html %}{{textarea_example}}{% endhighlight %}
-
-
+ {% include snippet.html content=textarea_example %}
@@ -162,79 +146,33 @@ doc-subtab: textarea
-
-
- {{textarea_rows_example}}
-
-
- {% highlight html %}{{textarea_rows_example}}{% endhighlight %}
-
-
+ {% include snippet.html content=textarea_rows_example %}
{% include anchor.html name="Colors" %}
-
-
- {{colors_example}}
-
-
- {% highlight html %}{{colors_example}}{% endhighlight %}
-
-
+ {% include snippet.html content=colors_example %}
{% include anchor.html name="Sizes" %}
-
-
- {{sizes_example}}
-
-
- {% highlight html %}{{sizes_example}}{% endhighlight %}
-
-
+ {% include snippet.html content=sizes_example %}
-
+ {% include anchor.html name="States" %}
-
Normal
-
-
- {{normal_example}}
-
-
- {% highlight html %}{{normal_example}}{% endhighlight %}
-
-
+
+ {% include snippet.html content=normal_example %}
Hover
-
-
- {{hover_example}}
-
-
- {% highlight html %}{{hover_example}}{% endhighlight %}
-
-
+
+ {% include snippet.html content=hover_example %}
Focus
-
-
- {{focus_example}}
-
-
- {% highlight html %}{{focus_example}}{% endhighlight %}
-
-
+
+ {% include snippet.html content=focus_example %}
Loading
-
-
- {{loading_example}}
-
-
- {% highlight html %}{{loading_example}}{% endhighlight %}
-
-
+
+ {% include snippet.html content=loading_example %}
{% if site.vernum >= 43 %}
@@ -257,14 +195,8 @@ doc-subtab: textarea
{% endif %}
Disabled
-
-
- {{disabled_example}}
-
-
- {% highlight html %}{{disabled_example}}{% endhighlight %}
-
-
+
+ {% include snippet.html content=disabled_example %}