break markdown and HTML artifacts apart