From 4a5f1f036b55d694094b862f9ceb9cd40731fe2e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 13 Jul 2014 01:23:29 -0700 Subject: [PATCH] markdownify button dropdowns --- docs/components/button-dropdown.md | 472 +++++++++++++++-------------- 1 file changed, 240 insertions(+), 232 deletions(-) diff --git a/docs/components/button-dropdown.md b/docs/components/button-dropdown.md index 2cad831157..c7e9a37bf4 100644 --- a/docs/components/button-dropdown.md +++ b/docs/components/button-dropdown.md @@ -3,80 +3,80 @@ layout: page title: Button dropdown --- -
-

Button dropdowns

+Use any button to trigger a dropdown menu by placing it within a `.btn-group` and providing the proper menu markup. -

Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.

+
+

Plugin dependency

+

Button dropdowns require the dropdown plugin to be included in your version of Bootstrap.

+
-
-

Plugin dependency

-

Button dropdowns require the dropdown plugin to be included in your version of Bootstrap.

-
+### Single button dropdowns + +Turn a button into a dropdown toggle with some basic markup changes. + + -

Single button dropdowns

-

Turn a button into a dropdown toggle with some basic markup changes.

- {% highlight html %}
@@ -93,88 +93,91 @@ title: Button dropdown
{% endhighlight %} -

Split button dropdowns

-

Similarly, create split button dropdowns with the same markup changes, only with a separate button.

-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
+### Split button dropdowns + + +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ {% highlight html %}
@@ -192,52 +195,55 @@ title: Button dropdown
{% endhighlight %} -

Sizing

-

Button dropdowns work with buttons of all sizes.

-
- - - -
+### Sizing + +Button dropdowns work with buttons of all sizes. + +
+ + + +
+ {% highlight html %}
@@ -270,38 +276,41 @@ title: Button dropdown
{% endhighlight %} -

Dropup variation

-

Trigger dropdown menus above elements by adding .dropup to the parent.

-
- -
+### Dropup variation + +Trigger dropdown menus above elements by adding `.dropup` to the parent. + +
+ +
+ {% highlight html %}
@@ -313,4 +322,3 @@ title: Button dropdown
{% endhighlight %} -