Steps to reproduce
- Have autopair markdown syntax turned on.
- On a new line, hit
* character and make a bullet list item, e.g. * item
Expected result
Bullet list:
* item
Expected behavior: When user hits * at the start of a line, auto pair generates a closing * character after the cursor (assuming intent to create an italic). Then after user hits space (indicating intent to make a bullet item, not italic), the second * is deleted and the line is formatted as a bullet item.
Screen capture from Typora for expected reference:

Actual result
Bullet list:
* item*

Editor’s auto pair logic doesn’t catch user intent to make a bullet list instead of an italic. Extra character is generated and has to be deleted manually.
Pattern matching on * followed by a space at the beginning of a line is the ‘bullet list intent’. That distinguishes it from the intent to start a line with an italic word.
Environment
- Operating system: MacOS 10.15.6
Additional information
The issue was reported as a bug below in May but never turned into a feature request. Still seems like an open UI/UX issue that would increase Quality of Life so I am reporting here for further discussion.