aboutsummaryrefslogtreecommitdiff
path: root/docs/layout/media.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-05-29 01:58:52 -0700
committerMark Otto <[email protected]>2015-05-29 01:58:52 -0700
commitb455ed8def8c82acaabf79c74e8899ee9139b6b2 (patch)
tree4d287f898555ceab2d089c17905239f3f437e799 /docs/layout/media.md
parent9e1af0d743315e4f3dc220dc308f940f92b20d5a (diff)
downloadbootstrap-b455ed8def8c82acaabf79c74e8899ee9139b6b2.tar.xz
bootstrap-b455ed8def8c82acaabf79c74e8899ee9139b6b2.zip
add markdown toc stuff
Diffstat (limited to 'docs/layout/media.md')
-rw-r--r--docs/layout/media.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/layout/media.md b/docs/layout/media.md
index 5104895ec..8e3d9a613 100644
--- a/docs/layout/media.md
+++ b/docs/layout/media.md
@@ -5,7 +5,12 @@ title: Media
Abstract object styles for building custom components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.
-### Default media
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
+## Default media
The default media allow to float a media object (images, video, audio) to the left or right of a content block.
@@ -21,7 +26,7 @@ The default media allow to float a media object (images, video, audio) to the le
</div>
{% endexample %}
-### Nesting
+## Nesting
Media components can also be nested.
@@ -48,7 +53,7 @@ Media components can also be nested.
</div>
{% endexample %}
-### Alignment
+## Alignment
The images or other media can be aligned top, middle, or bottom. The default is top aligned.
@@ -97,7 +102,7 @@ The images or other media can be aligned top, middle, or bottom. The default is
</div>
{% endexample %}
-### Media list
+## Media list
With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).