Markdown from scratch · Chapter 3
Lists
A lot of notes are mostly lists, whether it's shopping, steps to follow or points from a meeting. Markdown knows two kinds of lists, and both can be nested inside each other.
A simple bullet list
Every line starts with a hyphen and a space. Asterisks or plus signs work too, and when you edit, nexlore keeps whichever character you used.
- Flour - Water - Salt
- Flour
- Water
- Salt
A list with numbers
Here every line starts with a number and a full stop. The numbers don't even have to be right, because counting starts from the first one.
1. Make the starter 2. Leave it overnight 3. Knead the dough
- Make the starter
- Leave it overnight
- Knead the dough
Nesting lists inside each other
If you indent a line with a tab or four spaces, it belongs to the item above. You can mix both kinds of lists while doing so.
1. Shopping - Flour - Salt 2. Baking - Oven at 250 degrees
- Shopping
- Flour
- Salt
- Baking
- Oven at 250 degrees
Lore saysIn the editor you move an item in and back out with the Indent and Outdent buttons in the toolbar. nexlore writes the indentation the way your file already has it, with tabs or with spaces.
Several paragraphs in one item
A list item may consist of several paragraphs. You indent the further paragraphs as far as the item's text.
- Feed the starter Morning and evening, always in the same ratio. - Bake bread
Feed the starter
Morning and evening, always in the same ratio.
- Bake bread
Lists with boxes to tick are an extension of Markdown and have a chapter of their own, Tasks.