How to make line based parsing of markdown as done before in CM 5

Can I achieve this with extension architecture of the Markdown lezer parser? I saw your comment here about it: CM6 StreamParser - #14 by marijn

If so, can you give me some guidance?