parse marked up line