call afterEnterKey if it is defined in the parser
[Markdown] fixed lists recognition
[Markdown] added afterEnterKey method