By default new todo is created at the top of the list and with markdown disabled. I just added 2 options to set default creation behavior: createMarkdownByDefault: boolean and createPosition: "top" | "bottom". Moreover some code improvements were added.
Hi @ilya-gs, thanks for contributing.
The code looks okay, I have added a call to sort function to prevent new items to be placed after completed todos.
I`ll merge the changes now.
By default new todo is created at the top of the list and with markdown disabled. I just added 2 options to set default creation behavior: createMarkdownByDefault: boolean and createPosition: "top" | "bottom". Moreover some code improvements were added.