DocsForge supports all standard list types plus extended syntax for task lists, definition lists, and complex nesting.
Standard Markdown bullet lists:
- Item 1
- Item 2
- Item 3- Item 1
- Item 2
- Item 3
- Parent item
- Child item 1
- Child item 2
- Grandchild item
- Another parent- Parent item
- Child item 1
- Child item 2
- Grandchild item
- Another parent
Use -, *, or + interchangeably:
- Dash item
* Asterisk item
+ Plus item- Dash item
- Asterisk item
- Plus item
Standard numbered lists:
1. First item
2. Second item
3. Third item- First item
- Second item
- Third item
1. First step
1. Sub-step A
2. Sub-step B
2. Second step
1. Sub-step C
2. Sub-step D- First step
- Sub-step A
- Sub-step B
- Second step
- Sub-step C
- Sub-step D
5. Fifth item
6. Sixth item
7. Seventh item- Fifth item
- Sixth item
- Seventh item
Combine ordered and unordered lists:
1. First step
- Detail A
- Detail B
2. Second step
- Detail C
1. Sub-detail 1
2. Sub-detail 2- First step
- Detail A
- Detail B
- Second step
- Detail C
- Sub-detail 1
- Sub-detail 2
- Detail C
Enable with pymdownx.tasklist:
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task- Completed task
- Incomplete task
- Another task
- [x] Parent task completed
- [x] Child task completed
- [ ] Child task pending
- [ ] Parent task pending
- [ ] Child task pending
- [ ] Another child task pending- Parent task completed
- Child task completed
- Child task pending
- Parent task pending
- Child task pending
- Another child task pending
- [x] Install DocsForge
Simple pip install command
- [ ] Create your first page
Write a `index.md` file
- [ ] Build the site
Run `docsforge build`- Install DocsForge Simple pip install command
- Create your first page
Write a
index.mdfile - Build the site
Run
docsforge build
Custom checkbox styling with Material Design is enabled by default:
markdown_extensions:
- pymdownx.tasklist:
custom_checkbox: trueThis renders checkboxes with Material Design styling instead of default browser checkboxes.
Enable with def_list:
Term 1
: Definition of term 1
Term 2
: Definition of term 2
: Another definition for term 2Term 1 : Definition of term 1
Term 2 : Definition of term 2 : Another definition for term 2
DocsForge
: A self-contained documentation engine
: Vendored dependencies
: Zero external downloads
: Fast builds
Material Design
: The design system used by DocsForge
: Clean, modern aesthetic
: Responsive layoutsDocsForge : A self-contained documentation engine : Vendored dependencies : Zero external downloads : Fast builds
Material Design : The design system used by DocsForge : Clean, modern aesthetic : Responsive layouts
Lists can contain code blocks and other block elements:
1. First step
``` bash
echo "Hello"- Second step
echo "World"
1. First step
``` bash
echo "Hello"
- Second step
echo "World"
- Item with a note
!!! note
Important detail about this item
- Another item
!!! warning
Be careful with this step- Item with a note !!! note Important detail about this item
- Another item !!! warning Be careful with this step
- :material-check: Completed feature
- :material-wrench: Work in progress
- :material-clock-outline: Planned for next release
- :material-alert: Needs attention- :material-check: Completed feature
- :material-wrench: Work in progress
- :material-clock-outline: Planned for next release
- :material-alert: Needs attention
- **Bold item** with *italic* description
- [Link to another page](getting-started.md)
- `inline code` for technical terms
- ==Highlighted text== for emphasis- Bold item with italic description
- Link to another page
inline codefor technical terms- ==Highlighted text== for emphasis
- Use unordered lists for features, options, or unordered items
- Use ordered lists for sequential steps or ranked items
- Use task lists for todo lists, checklists, or progress tracking
- Use definition lists for glossaries, FAQs, or key-value pairs
- Keep nesting to 3 levels maximum for readability
- Indent nested items with 2 or 4 spaces consistently
- Avoid mixing too many element types in one list
- Use task lists in GitHub issues or project documentation for progress tracking