Add Pandoc macros for RST and MediaWiki output