Export markdown with pandoc