Lists
Lists organize related items into a clear, easy-to-read structure. Archbee supports unordered lists, ordered lists, nested lists, and task lists using standard Markdown syntax.
Syntax
Lists use standard Markdown syntax.
- Unordered item
- Nested item
1. Ordered item
2. Second item
- [ ] Unchecked task
- [x] Completed taskUse hyphens (-) for unordered lists, numbers (1.) for ordered lists, and square brackets ([ ] or [x]) for task lists.
Nested items are created by indenting child elements.
Blocks inside a list item
To keep an image, a code block or another block inside a list item, leave a blank line after the item's text and indent the block to line up with that text: three spaces after 1., two spaces after -.
1. Install the package:
```bash
npm install
```
2. Start the app.The block stays part of the item when the file is imported, and Archbee writes it back the same way.
Examples
The following examples demonstrate the different list types supported in Archbee.
Unordered list
- First item
- Second item
- Nested item
- Another nested item
- Third itemOrdered list
1. Install the CLI
2. Create a new project
3. Write your docs
4. Preview locally
5. PublishChecklist
- [ ] Set up `archbee.json` configuration
- [ ] Add documentation pages
- [ ] Configure navigation tree
- [ ] Customize branding and colors
- [ ] Publish to production