Fix markdown processing