Markdown autocompletion bug when starting lines with "*" character

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.


  • Platform: Ubuntu
  • Platform version: 17.10
  • App Version: 3.15.0


  1. Start a line with some text in bold or italic.
  2. 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.

1 Like

Thanks for reporting it.
This is a regression and will be fixed in the next version.

The editor can determine if the line is a list or not by reusing its rendering engine which provides states of each line.
This bug is due to a breaking change of the editor component.

Fixed in v3.16.0. Thanks for reporting!