Lists

Unordered list

  • List item

    • Nested list item

      • Deeper nested list item

  • List item

    • Another nested list item

  • List item

Unordered list max level nesting
  • Level 1 list item

    • Level 2 list item

      • Level 3 list item

        • Level 4 list item

          • Level 5 list item

            • etc.

  • Level 1 list item

Ordered list

  1. Step 1

  2. Step 2

    1. Step 2a

    2. Step 2b

  3. Step 3

Ordered list max level nesting
  1. Level 1 list item

    1. Level 2 list item

      1. Level 3 list item

        1. Level 4 list item

          1. Level 5 list item

  2. Level 1 list item

Customized markers and numeration

Unordered list w/ customized marker (square)
  • ultricies sociosqu tristique integer

  • lacus volutpat semper porttitor aliquet ornare primis nulla enim

  • etiam pulvinar inceptos velit quisque aptent himenaeos

Ordered list w/ customized numeration (upperalpha)
  1. potenti donec cubilia tincidunt

  2. etiam pulvinar inceptos velit quisque aptent himenaeos

  3. lacus volutpat semper porttitor aliquet ornare primis nulla enim

Ordered list numeration styles

decimal

loweralpha

upperalpha

lowerroman

upperroman

lowergreek

  1. Protons

  2. Electrons

  3. Neutrons

  1. Protons

  2. Electrons

  3. Neutrons

  1. Protons

  2. Electrons

  3. Neutrons

  1. Protons

  2. Electrons

  3. Neutrons

  1. Protons

  2. Electrons

  3. Neutrons

  1. Protons

  2. Electrons

  3. Neutrons

Description list

First term

Description of the first term.

Second term

Description of the second term.

With another paragraph.

Third term

Description of the first term.

Horizontal description list (unconstrained)

CPU

The brain of the computer.

Hard drive

Permanent storage for operating system and/or user files.

Solid state drives (SSDs) are faster than hard drives, but are also more expensive.

RAM

Temporarily stores information the CPU uses during operation.

Horizontal description list (constrained)

A short term

The term for this item likely fits inside the column’s width.

A long term that wraps across multiple lines

The term for this item wraps since the width of the term column is restricted using the labelwidth attribute.

Question and answer list

  1. What is the answer?

    This is the answer.

  2. Are cameras allowed?

    Are backpacks allowed?

    No.

Checklist

  • checked

  • also checked

  • not checked

Interactive checklist
  • checked

  • also checked

  • not checked

Examples

Mixed list

Operating Systems
Linux
  1. Fedora

    • Desktop

  2. Ubuntu

    • Desktop

    • Server

BSD
  1. FreeBSD

  2. NetBSD

Cloud Providers
PaaS
  1. OpenShift

  2. CloudBees

IaaS
  1. Amazon EC2

  2. Rackspace

Drop the principal text

  1. print("one")
  2. print("one")

List continuation (complex list)

  • Every list item has at least one paragraph of content, which may be wrapped, even using a hanging indent.

    Additional paragraphs or blocks are adjoined by putting a list continuation on a line adjacent to both blocks.

  • A literal paragraph does not require a list continuation.

    $ cd projects/my-book
  • The header in AsciiDoc must start with a document title.

    = Document Title

    Keep in mind that the header is optional.

    • The header in AsciiDoc must start with a document title.

      = Document Title
      The header is optional.
  • AsciiDoc lists may contain any complex content.

    Column 1, Header Row Column 2, Header Row

    Column 1, Row 1

    Column 2, Row 1

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com