Implementation of markdown parser based on F# Deep Dives, Chapter 3 "Parsing text based languages"