Adding lists

From LabTrove Documentation
Jump to: navigation, search

You can choose to add bulleted or numbered lists to your Posts. You can use the list buttons on the menu to create the lists or you can manually enter the list markup. The following image shows the Insert/Remove Bulleted List and Insert/Remove Numbered List buttons:

File:Text list new.png

When you click on Insert/Remove Bulleted List a bullet is added to the Post. A new bullet is added for each new line. When you click on Insert/Remove Numbered List a number is added to the Post. The next number in the sequence is added for each new line.

Creating a bulleted list using markup

To create a bulleted list using markup:

  1. The markup to add a bulleted list to a Post is:[list][/list]
  2. To add a bullet to your post use the [*] markup between the list tags. Repeat this for each item you want to add to your bulleted list. For example:

[list]
[*]
[/list]

Ensure each item in the list must be placed on a new line. Each item will be displayed indented at the same level in the Post. The following example shows the markup for a bulleted list with three list items:

[list]
[*] Item 1
[*] Item 2
[*] Item 3
[/list]

In the saved Post, the bulleted list is displayed as:

  • Item 1
  • Item 2
  • Item 3

Creating a numbered list using markup

To create a numbered list using markup: To add a numbered list to a Post you use the list tags in the same way as a bulleted list, except that you add a starting value for the list. For example to create a numbered list starting at one, enter the following markup into your Post: [list=1][/list].

You can choose to enter a number or a letter. For example, if you want a list that uses letters rather than numbers, use A for the starting value: [list=A][/list].

To add a numbered bullet use the [*] markup between the list tags. Repeat this for each item you want to add to your list, for example:

[list=1] [*] [/list]

Place each item on the same line to keep the list items without extra line spacing. Each item will be displayed indented at the same level in the Post. The following example shows the markup for a numbered list with three list items, with a starting value of 1:

[list=1][*] Item 1[*] Item 2[*] Item 3[/list]

In the saved Post, the bulleted list is displayed as:

1. Item 1
2. Item 2
3. Item 3

The following example shows the markup for a numbered list with three list items, with a starting value of A:

[list=A][*] Item 1[*] Item 2[*] Item 3[/list]

In the saved Post, the bulleted list is displayed as:

A. Item 1
B. Item 2
C. Item 3

What to do next


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Print/export