improved markdown, now with html printer