Forgot to say, multiline tasks are not currently supported
because I parse the text using regex in current line.
I will follow @mjf advice on using AST to do this, maybe this will solve a lot of issues and will make things easier for multiline support.
But because I don’t have too much time to relogic the whole code I don’t know when I can do it.