Skip to content

Feature/source editor list item continuation#1497

Open
MarkQuach12 wants to merge 7 commits into
overleaf:mainfrom
MarkQuach12:feature/source-editor-list-item-continuation
Open

Feature/source editor list item continuation#1497
MarkQuach12 wants to merge 7 commits into
overleaf:mainfrom
MarkQuach12:feature/source-editor-list-item-continuation

Conversation

@MarkQuach12

Copy link
Copy Markdown

Description

Implements the enhancement requested in #1384: in the source (code) editor, pressing Enter inside a list environment now inserts a new \item automatically, so the user no longer has to type it by hand

Behaviour:

  • Enter after an item inserts a new \item (\item[] for description lists, with the cursor placed inside the brackets), preserving indentation.
  • Shift-Enter always inserts a plain newline.

Related issues / Pull Requests

Closes #1384

Contributor Agreement

@MarkQuach12
MarkQuach12 force-pushed the feature/source-editor-list-item-continuation branch from e33a0af to 9086739 Compare July 9, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: when pressing enter in itemize list, automatically add the \item

2 participants