Skip to content

Continue list markup on newline #678

@cAttte

Description

@cAttte

description

a very nice and important quality-of-life feature is the continuation of list-like markup elements on newlines, the same way that e.g. indentation is continued in code mode. (update: this shortcut should not apply when Shift+Enter is pressed). refer to the following visual explanation:

- hi hello|

presses enter

- hi hello
- |

(update) presses shift+enter instead

- hi hello
|

every markup editor does this, therefore it must be good. this should also work on enums + (n. syntax shouldn't be too difficult), on terms /, and on arbitrarily nested combinations thereof. see CodeMirror's insertNewlineContinueMarkup() for a potential implementation.

use case

so i can type less

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions