2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

add markdown toc stuff

This commit is contained in:
Mark Otto
2015-05-29 01:58:52 -07:00
parent 9e1af0d743
commit b455ed8def
35 changed files with 216 additions and 55 deletions
+9 -4
View File
@@ -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).