marked up print function