aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/utilities/embed.md
diff options
context:
space:
mode:
authorm5o <[email protected]>2018-03-14 16:44:38 +0100
committerXhmikosR <[email protected]>2018-03-14 17:44:38 +0200
commitd01b4eb02560ba67b61b1b2c0496e9f8281c154d (patch)
tree9c32c81f44be15d729fc8351360921aa1b42e572 /docs/4.0/utilities/embed.md
parent03b7f52e820c80e244479c59c0920c541ee1277b (diff)
downloadbootstrap-d01b4eb02560ba67b61b1b2c0496e9f8281c154d.tar.xz
bootstrap-d01b4eb02560ba67b61b1b2c0496e9f8281c154d.zip
Remove custom example plugin. (#25784)
Diffstat (limited to 'docs/4.0/utilities/embed.md')
-rw-r--r--docs/4.0/utilities/embed.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/4.0/utilities/embed.md b/docs/4.0/utilities/embed.md
index 4f19874ff..4713c598c 100644
--- a/docs/4.0/utilities/embed.md
+++ b/docs/4.0/utilities/embed.md
@@ -16,11 +16,12 @@ Rules are directly applied to `<iframe>`, `<embed>`, `<video>`, and `<object>` e
Wrap any embed like an `<iframe>` in a parent element with `.embed-responsive` and an aspect ratio. The `.embed-responsive-item` isn't strictly required, but we encourage it.
-{% example html %}
+{% capture example %}
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
-{% endexample %}
+{% endcapture %}
+{% include example.html content=example %}
## Aspect ratios