Lists and Procedures

2 min read

Simple Lists

Use simple lists for lists where no additional formatting is needed. Simple lists are displayed as text only, and have no numbers or symbols. But they do allow you to:

  • List items horizontally inside a paragraph

  • List items vertically or horizontally across several columns, similar to a table.

Each list item in a simple list is inside a member element, for example:

<simplelist>
    <member>User-friendly interface</member>
    <member>High performance</member>
    <member>Scalable architecture</member>
    <member>Comprehensive documentation</member>
  </simplelist>

To learn how to create a simple list and control how it is presented, see Create a Simple List.

Create a Simple List

In Paligo XML (and DocBook), there is a simplelist element that you can use to create basic lists of words or phrases. They are especially useful for:

  • Listing items horizontally, without numbers or bullet points

  • Listing items vertically or horizontally across several columns, similar to a table.

To create a simple list:

  1. Select the topic or component in the Content Manager to open it in the Editor.

    Alternatively, you can Create a Topic and edit that.

  2. In the topic, position the cursor where you want the simple list to appear.

  3. Use the Element Context Menu to insert the simplelist element.

    When you add the simplelist element, Paligo automatically adds a member element inside it. The member element is for the first item in the list.

  4. Enter the text for the first list item and then press Enter to create the next list item (member).

  5. Enter the text for the next list item and press Enter.

  6. Continue adding all of the list items you need. Do not press Enter after the last list item, otherwise you will get an extra member element.

    Tip

    If you do get an extra member element, select it, and then select member in the Element Structure Menu at the top and then select Delete.

  7. Select the simplelist element in the Element Structure Menu and then select Go to element.

  8. In the Element attributes panel, add the type attribute and set its value to:

    • inline

      To display the list inline, as regular text.

      For example:

      Content of member 1, Content of member 2, Content of member 3, Content of member 4

    • horiz

      To display the list horizontally across a number of columns*.

      For example:

      Content of member 1Content of member 2
      Content of member 3Content of member 4

    • vert

      To display the list vertically across a number of columns*.

      For example:

      Content of member 1Content of member 3
      Content of member 2Content of member 4

    * You will set the columns in the next step.

  9. This step only applies if you set the simple list's type attribute to horiz or vert.

    1. Select the simplelist element.

    2. In the Element attributes panel, give the simplelist element the columns attribute.

    3. For the columns value, enter the number of columns you want the simple list to use.

    When you publish, Paligo will render the simplelist so that it uses the number of columns you have set.

  10. Select Save.