fixes for markeddown using marked2