Add markdown parsing for html comments and pandoc-style comments