Converting tables to pandoc markdown and editing table contents