From a39f0f6d2119369051bc857ea750d9d2281f1582 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 13 Jul 2014 01:12:06 -0700 Subject: [PATCH] markdownify list group --- docs/components/list-group.md | 163 +++++++++++----------------------- 1 file changed, 52 insertions(+), 111 deletions(-) diff --git a/docs/components/list-group.md b/docs/components/list-group.md index 90c3a68ed4..6324032f53 100644 --- a/docs/components/list-group.md +++ b/docs/components/list-group.md @@ -3,23 +3,12 @@ layout: page title: List group --- -
-

List group

+List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content. -

List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.

+

Basic example

+

The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.

-

Basic example

-

The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.

-
-
    -
  • Cras justo odio
  • -
  • Dapibus ac facilisis in
  • -
  • Morbi leo risus
  • -
  • Porta ac consectetur ac
  • -
  • Vestibulum at eros
  • -
-
-{% highlight html %} +{% example html %} -{% endhighlight %} +{% endexample %} -

Badges

-

Add the badges component to any list group item and it will automatically be positioned on the right.

-
-
    -
  • - 14 - Cras justo odio -
  • -
  • - 2 - Dapibus ac facilisis in -
  • -
  • - 1 - Morbi leo risus -
  • -
-
-{% highlight html %} +### Badges + +Add the badges component to any list group item and it will automatically be positioned on the right. + +{% example html %} -{% endhighlight %} +{% endexample %} -

Linked items

-

Linkify list group items by using anchor tags instead of list items (that also means a parent <div> instead of an <ul>). No need for individual parents around each element.

- -{% highlight html %} +### Linked items + +Linkify list group items by using anchor tags instead of list items (that also means a parent `
` instead of an `
-{% endhighlight %} +{% endexample %} -

Custom content

-

Add nearly any HTML within, even for linked list groups like the one below.

- -{% highlight html %} +### Custom content + +Add nearly any HTML within, even for linked list groups like the one below. + +{% example html %} -{% endhighlight %}
+{% endexample %}