implement normalizing markdown through pandoc