use pandoc to convert markdown