faq:lists
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq:lists [2016-01-29 06:19] – 103.17.16.90 | faq:lists [2020-04-13 15:03] – [Multiline List Items] Lizat | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Multiline List Items ===== | ===== Multiline List Items ===== | ||
- | :?: How can I add a code block or multiple lines in a list item??? | + | :?: How can I add a code block or multiple lines in a list item? |
:!: The list syntax expects you to put each item in a single line and you may not interrupt numbered lists or the index will restart at 1. This makes it impossible to add tables into a list item for example. However you can add code/file block or line breaks in a list item. For code blocks make sure they start on the same line as your item, for linebreaks use the forced line break syntax '' | :!: The list syntax expects you to put each item in a single line and you may not interrupt numbered lists or the index will restart at 1. This makes it impossible to add tables into a list item for example. However you can add code/file block or line breaks in a list item. For code blocks make sure they start on the same line as your item, for linebreaks use the forced line break syntax '' | ||
Line 29: | Line 29: | ||
You can use the same trick to include other syntax like tables into a list by using the [[plugin: | You can use the same trick to include other syntax like tables into a list by using the [[plugin: | ||
+ | |||
+ | To add a blank line between number list items do this: | ||
+ | |||
+ | < | ||
+ | - Ordered List Item1 \\ \\ // | ||
+ | - Ordered List Item2 | ||
+ | - Ordered List Item3 | ||
+ | </ | ||
+ | Which results in this: | ||
+ | - Ordered List Item1 \\ \\ | ||
+ | - Ordered List Item2 | ||
+ | - Ordered List Item3 | ||
+ | |||
+ | For visual clarity you may prefer to add a non-breaking space after the line breaks e.g. | ||
+ | < | ||
+ | where ' | ||
===== Continue List Numbering ===== | ===== Continue List Numbering ===== |
faq/lists.txt · Last modified: 2023-07-10 07:18 by saggi