Add getParser method to Markdown parser class