Question d’entretien chez Samsara

How would you implement a Markdown parser?