Implemented use of Pandoc

A crude implementation, but it works