command.extend in pandoc