All articles
Inside Textend8 min read

What does Enter mean inside a list?

Continue with a new item, add a paragraph to the same one, or promote a child item? Follow an interview outline through Enter, paragraph continuation, Tab, and undo—and see the editing decisions behind them.

Folded paper steps branch into smaller levels, ending in a lavender step.

Start with an outline and the relationships it expresses

An interview outline might begin with background, describe a plan, put its cost and risk underneath, and finish with a next step. The hierarchy already says something: cost and risk explain the plan, while the next step is a separate action.

Now make three ordinary revisions: add an explanation within the plan, promote the risk so it can be discussed separately, and place the whole plan under the background together with its cost and risk. Each moves text, but each needs to preserve different relationships.

The examples below use Textend’s writing mode. Code boxes show the corresponding Markdown, and screenshots show the actual editing surface. Click a screenshot to view it at full size. Copy the outline into a new document to follow along.

- Background: understand the first-use difficulties
- Plan: organize the interview notes
  - Cost: half a day per person
  - Risk: a small sample
- Next: arrange a follow-up
The cost and risk items are nested beneath the plan.
Starting point: Background, Plan, and Next are peers; Cost and Risk belong to Plan.

Continue with another item or finish the list

At the end of a nonempty list item, Enter starts another item at the same level. A second-level item continues at the second level, and a new task after a task item starts unchecked. Keep taking notes without typing another marker.

In the middle of the text, Enter splits it into two peer items. Splitting “Confirm the time and arrange a follow-up” before “arrange” creates two items. To keep two paragraphs within one item, use the paragraph action in the next section.

To finish, press Enter in an empty top-level item with no child content. It becomes ordinary prose. An empty nested item first leaves its current level. “Empty” concerns the whole item: erasing its first line does not remove the children or code that still belong to it.

Your intentionPosition and actionResult
Add another pointEnd of a nonempty item → EnterA new peer item
Split one item into twoWithin the item’s text → EnterThe two parts become peer items
Add a paragraph within an itemIn list prose → ⌘Enter / Ctrl+EnterKeep the item; add no new bullet
Finish a top-level listEmpty top-level item without children → EnterReturn to ordinary prose
Nest an item under the preceding peerIn the item’s text → TabBecome a child of the preceding peer
Promote a child itemIn the child’s text → Shift+TabMove up one level

Add an explanation without adding another bullet

Return to “Plan: organize the interview notes.” The explanation “group the issues, then choose quotations” belongs to the plan itself. Place the caret at the end of that line, press Command+Enter on macOS or Ctrl+Enter on Windows, and type the explanation.

The new paragraph has no bullet and aligns with the plan’s text. Cost and Risk remain below it. The explanation has a defined parent instead of merely looking indented and possibly becoming part of the next item.

Here, Enter continues with a peer item, while Command/Ctrl+Enter continues with a paragraph in the same item. The latter can also split the item’s prose into two paragraphs. The blank space below separates paragraphs; use the shortcut in writing mode rather than manually counting spaces and blank lines.

- Plan: organize the interview notes

  Note: group the issues, then choose quotations.

  - Cost: half a day per person
  - Risk: a small sample
A new paragraph stays inside Plan without a bullet; Cost and Risk remain below.
The explanation remains part of Plan rather than becoming another child item.

Promote a risk: Tab and Shift+Tab

To discuss Risk alongside Plan, put the caret anywhere in the Risk item’s prose and press Shift+Tab. It moves up to the top level, while Cost stays beneath Plan. You do not need to move the caret to the start of the line.

To reverse the relationship, press Tab in the newly promoted Risk item to nest it under the preceding peer, Plan. The first item cannot invent a preceding parent. Indentation here organizes the outline’s relationships.

This example uses the last child, so there are no following siblings to place. If the item has children of its own, or your selection spans several levels, the selection scope matters as described next.

Before:
- Plan: organize the interview notes
  - Cost: half a day per person
  - Risk: a small sample

After Shift+Tab in Risk:
- Plan: organize the interview notes
  - Cost: half a day per person
- Risk: a small sample

Move just Plan or take its children along

Start again from the original outline. You want Plan beneath Background. First decide whether Cost and Risk should remain under Plan. A caret in Plan and a selection including Plan and both children specify different scopes.

With only a caret in Plan, Tab indents that item while its unselected existing children keep their original depth. Plan, Cost, and Risk consequently become peers beneath Background. This is the result when you adjust only Plan.

To keep Cost and Risk under Plan, select all three items before pressing Tab. The selected items move together, with the children remaining one level below Plan. Cover their text and stop at the end of Risk, without extending into Next.

The two results are shown below. Decide which group you want to move, then select it, rather than repairing the hierarchy line by line afterward.

Tab with a caret in Plan only:
- Background: understand the first-use difficulties
  - Plan: organize the interview notes
  - Cost: half a day per person
  - Risk: a small sample
- Next: arrange a follow-up

Select Plan, Cost, and Risk, then press Tab:
- Background: understand the first-use difficulties
  - Plan: organize the interview notes
    - Cost: half a day per person
    - Risk: a small sample
- Next: arrange a follow-up
After indenting only Plan, Plan, Cost, and Risk are peers.
Plan alone: the existing children keep their depth, so the three items become peers.
After indenting the selected group, Cost and Risk remain beneath Plan.
Select the group first to preserve the relative levels of Plan and its children.

Why the editor needs more than an indentation count

Background, Plan, and Next originally have the same indentation but are separate items. Cost and Risk also share an indentation level without being the same item. To type, delete, or move content, the editor needs to know where it belongs and what you selected.

Textend identifies the actual items, parent-child relationships, and content ranges. A continuation paragraph keeps its parent; a selection across levels distinguishes selected and unselected content; leaving an inner level requires finding its immediate parent. Lists within quotes need those decisions to follow the full structure too.

We spend time on these actions so you can reorganize material while writing: add an explanation without rebuilding the children, indent a selected group without adjusting each line, and see which relationships changed. Displaying the levels is only the first part of that work.

Try a new structure and undo the choice

After indenting the group, you may decide that Plan deserves its own section after all. Use Command+Z on macOS or Ctrl+Z on Windows to return to the earlier structure. The related hierarchy changes reverse together, without moving Cost and Risk back line by line.

One structural action can alter several indents, markers, and necessary paragraph separators in the source. Textend groups the changes belonging to that action into one undo unit, so trying a structure remains a reversible choice.

Undo follows the sequence of edits. Creating a continuation paragraph and then typing its explanation are separate steps that can be undone separately. One undo does not erase every later keystroke. Keep a version or copy before a larger revision so earlier stages remain available.

Use source mode for literal character edits

The Tab and paragraph actions here describe writing mode. When inspecting a Markdown file from someone else, use source mode to adjust spaces, markers, or incomplete syntax directly. It works with characters and source lines instead of turning a local correction into a move of a whole group.

Both modes share the text and undo history. Organize relationships in writing mode and inspect the source when indentation is unclear. More complex cases, such as code inside quotes or pasting across blocks, also depend on the content and selection. The results for this outline do not establish identical behavior for every combination.

Use the three actions in your own outline

When organizing meeting notes or an article outline, decide what the passage does: does it explain the same point, begin a peer question, or belong to a group that should move together? Choose the action from that intention.

Try three separate exercises: add an explanation to Plan, promote Risk to the top level, and select Plan with both children before nesting the group under Background. Start each exercise from the original outline and compare the results. They cover adding detail, promoting a point, and reorganizing a group for your own writing.

  • Add a paragraph to the same item: Command/Ctrl+Enter.
  • Continue with a peer: Enter at the end of a nonempty item.
  • Keep a group’s relative levels: select the parent and children before pressing Tab.