create base pandoc options function