title: Reliable Markdown parser written in PHP that uses tokenization
body: <p>Is there a Markdown parser out there that uses tokenization rather than relying on regular expression matching?</p>
  
  <p>From looking at <a href="http://daringfireball.net/projects/markdown/syntax" rel="nofollow">Markdown syntax</a>, it seems pretty easy to implement, so I was thinking to write one, but I'd like to know if someone did it already.</p>