Lists

Lists within admonitions

Important

wanna play a game?

  • inside

  • this

    • list

    • in the world

      • hi

      • his

        hi

A demo list

  • here

    • is

    • some

  • how

  • inline literal

  • inline literal

  • inline literal

Another demo list

  1. Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols (called sorts in mechanical systems and glyphs in digital systems) are retrieved and ordered according to a language's orthography for visual display.

  2. Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols (called sorts in mechanical systems and glyphs in digital systems) are retrieved and ordered according to a language's orthography for visual display.

  3. Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols

    1. Abc

    2. Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols (called sorts in mechanical systems and glyphs in digital systems) are retrieved and ordered according to a language's orthography for visual display.

    3. Cde

      Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols

      1. Mno Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols

      2. Nop Typesetting is the composition of text by means of arranging physical types[1] or the digital equivalents. Stored letters and other symbols (called sorts in mechanical systems and glyphs in digital systems)

        • Klm

        • Lmn

        • Mno

        are retrieved and ordered according to a language's orthography for visual display.

      3. Opq

      (called sorts in mechanical systems and glyphs in digital systems) are retrieved and ordered according to a language's orthography for visual display.

    (called sorts in mechanical systems and glyphs in digital systems) are retrieved and ordered according to a language's orthography for visual display.

Third demo list

  • here is a list in a second-level section.

  • yahoo

  • yahoo

    • yahoo

    • here is an inner bullet oh

      • one more with an inline literally. yahoo

        heh heh. child. try to beat this embed:

    • and another. yahoo

    • yahoo

    • hi

  • and hehe

But deeper down the rabbit hole

  • I kept saying that, "deeper down the rabbit hole". yahoo

    • I cackle at night yahoo.

  • I'm so lonely here in GZ guangzhou

  • A man of python destiny, hopes and dreams. yahoo

Compact Lists

Keywords: css, compact-list

Add CSS class compact-list to lists to get li tags with margin-top:0; margin-bottom:0.

In case of a normal list:

.. rst-class:: compact-list

-  abc
-  bcd
-  cde

compact list

normal list

  • abc

  • bcd

  • cde

  • def

  • efg

  • abc

  • bcd

  • cde

  • def

  • efg

  1. one

  2. two

  3. three

  1. one

  2. two

  3. three

Or, for example:

.. rst-class:: compact-list

1. one
2. two
3. three

Should look like:

  1. one

  2. two

  3. three

In case of .. toctree:::

.. rst-class:: compact-list
.. troctree::

   Abc/Index
   Bcd/Index

In case of .. contents:::

.. contents::
   :class: compact-list