Bug report
The Markdown autocompletion assumes that lines that start with *
character are automatically lists. This is a problem if you want to start a new line with text in italic or bold.
Info
- Platform: Ubuntu
- Platform version: 17.10
- App Version: 3.15.0
Reproduce
- Start a line with some text in bold or italic.
- Press enter.
Expected behavior: The new line will have no *
characters at the beginning of the line.
Actual behavior: Inkdrop automatically assumes that you’ve started a list, so the new line will have the *
character at the beginning.
Proposal of the solution: If I’m making a list, I’m usually adding a space character between the *
character and the content of the bullet point (and I think that most people are). If I’m trying to write something in bold or italic, I never add the space character after *
(or two). So my proposed solution is to check if there’s a space after the *
character at the beginning of the line. If there is, assume it’s a list. If there’s not, assume it’s not a list.