The next time you need a markdown parser take a look at Parsedown. Not only is it fast but I’ve found it to be very consistent.
(new ParsedownExtra())->text('Hello _Parsedown_!');
Installation was a breeze and it even supports Markdown Extra. Give it a try if you haven’t.