fix multimarkdown line detection with prefix