Skip to content

'-' as a bullet character is often a bad time #3729

@Parth

Description

@Parth

while thinking about: https://discord.com/channels/1014184997751619664/1403798488613130250/1403798488613130250

another situation where this annoying-ness is encountered is when someone enters a - as their bullet character. When they press enter and a bullet is included it turns it into a heading momentarily, a pretty confusing situation for first time users and/or users unfamiliar with markdown.

Users who don't know about markdown and are trying to use bullets in a non-bullet env often reach for - so it's overall a very unforgiving situation for them.

Some solutions come to mind:

  • aggressive and compliant approach: always replace bullet characters with + / *
  • non-compliant approach: require more than one -- for a h2 to get created
  • complex approach: model the ideal of provisional input: when the editor places a bullet for you, the editor is not trying to create an h2. And if non-bullet behavior happens, like they press newline, or mouse away, or something like that. The text is not "committed". The bullet is only committed if they enter input.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions