Lists
List extensions add bullet lists, numbered lists, and task lists with checkboxes to the editor.
List kit
The list extensions in one: bullet and ordered lists, list items, task lists, and list keymap.
Open source
Bullet list
Unordered lists with bullet points.
Open source
List item
The item of a bullet or ordered list.
Open source
List keymap
Keyboard behavior for lists, such as joining and lifting list items.
Open source
Ordered list
Numbered lists.
Open source
Task item
The item of a task list, with a checkbox.
Open source
Task list
Lists of tasks that users check off.
Open source
When you use them
- Bullet points. Bullet list adds unordered lists, rendered as
ultags. - Numbered steps. Ordered list adds numbered lists, rendered as
oltags. - To-dos. Task list and Task item add tasks, each with a checkbox that people check off.
- Editing lists. List keymap changes backspace at the start of a list item, so it lifts the content into the list item above.
How they work
- A list is two nodes. Bullet list and Ordered list hold List items, and Task list holds Task items. Each list needs its item node. Nodes and marks
- The List kit bundles them. The List kit holds Bullet list, List item, Ordered list, Task item, Task list, and List keymap.
- The StarterKit has the basics. Bullet list, List item, Ordered list, and List keymap are part of the StarterKit; Task list and Task item are not.
- Shortcuts. Typing
-at the start of a line starts a bullet list,1.an ordered list, and[ ]a task list. Tab nests a list item and Shift + Tab lifts it out. Keyboard shortcuts
Related
- Text blocks are the paragraphs, headings, and quotes around your lists.
- Tables put content in rows and columns.