Fix rendering for pandoc