-
Notifications
You must be signed in to change notification settings - Fork 35
'-' as a bullet character is often a bad time #3729
Copy link
Copy link
Closed
Labels
markdownMarkdown editorMarkdown editor
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
markdownMarkdown editorMarkdown editor